Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
See CASSANDRA-420 for introduction of DecoratedKey.
IMO we should move Memtable and SSTR objects to using DK objects, too. This will help Memtable flushes similar to how this helps BMt, and using DK objects in SSTR will avoid a ton of potential confusion about whether a String is a key or a decorated key.
As a side benefit, moving the decoration operation out of memtable flush and into the insert path will help make better use of multicore systems, since we can have multiple write threads but only one core can flush at a time. (See CASSANDRA-445.)