Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.98.0, 0.95.2
-
None
-
None
Description
Now with V3 we will write tags length (short) along with every KV after value bytes. When no tags at all present it will be wasting 2 bytes for every KV. We can avoid this. During flush let the tags length be written. In fileInfo we can add info like max tags length. During compaction if all the files undergoing the compaction having a 0 max tags length, we can avoid writing 2 bytes (0) along with every KV..
Note : Similar optimization available with mvcc