You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eduard Tudenhoefner (JIRA)" <ji...@apache.org> on 2017/05/16 16:08:04 UTC
[jira] [Created] (CASSANDRA-13533) ColumnIdentifier object size
wrong when tables are not flushed
Eduard Tudenhoefner created CASSANDRA-13533:
-----------------------------------------------
Summary: ColumnIdentifier object size wrong when tables are not flushed
Key: CASSANDRA-13533
URL: https://issues.apache.org/jira/browse/CASSANDRA-13533
Project: Cassandra
Issue Type: Bug
Components: Core
Reporter: Eduard Tudenhoefner
Assignee: Eduard Tudenhoefner
It turns out that the object size of {{ColumnIdentifier}} is wrong when *cassandra.test.flush_local_schema_changes: false*. This looks like stuff is being wrongly reused when no flush is happening.
We only noticed this because we were using the prepared stmt cache and noticed that prepared statements would account for *1-6mb* when *cassandra.test.flush_local_schema_changes: false*. With *cassandra.test.flush_local_schema_changes: true* (which is the default) those would be around *5000 bytes*.
Attached is a test that reproduces the problem and also a fix.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org