streamnative / bookkeeper-achieved

Apache Bookkeeper
https://bookkeeper.apache.org
Apache License 2.0
3 stars 2 forks source link

ISSUE-2823: Why KeyValueStorageRocksDB set the table format version as 2 explicitly? #413

Open sijie opened 2 years ago

sijie commented 2 years ago

Original Issue: apache/bookkeeper#2823


QUESTION

KeyValueStorageRocksDB sets the table format version as 2 explicitly: tableOptions.setFormatVersion(2);

From my experience, newly format could suppory partitioned index&filter, which could help improve performance much better with limited block cache, and the newer version sould be compatiable with older version. Why bookkeeper must set the version as 2?