toplingdb
toplingdb copied to clipboard
set level0_file_num_compaction_trigger=-1 should disable intra L0 compaction
Expected behavior
set level0_file_num_compaction_trigger=-1
should disable intra L0 compaction
Actual behavior
set level0_file_num_compaction_trigger=-1
triggers infinite write stop
Steps to reproduce the behavior
set write_buffer_size=1G and target_file_size_base=1M, then write data to DB.
RocksDB will schedule intra L0 compaction in some cases, now ToplingDB regards level0_file_num_compaction_trigger=-1
for flag of Disable intra L0 compactions, but it triggers this infinite write stop.
Can you assign me this issues? Maybe I want to try to solve this issue.
Can you assign me this issues? Maybe I want to try to solve this issue.
Very thanks for your contribution!
Why do I git clone the files of the private repository when I compile the project?
+ git clone [email protected]:topling/cspp-memtable
Cloning into 'cspp-memtable'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
+ cd sideplugin
+ git clone [email protected]:topling/cspp-wbwi
Cloning into 'cspp-wbwi'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
- This error does not affect whole ToplingDB.
- Import your
rsa pubkey
to github, theclone
will success.
You can file an issue about the clone fail, I can change the git@
to https://
in Makefile.
You can file an issue about the clone fail, I can change the
git@
tohttps://
in Makefile.
ok! thx~
Now ToplingDB will disable Intra L0 compaction if max_level1_subcompactions > 1
, see commit a6a79feaac4d9d0998ec5bc1d68b8f194f6c0f20
ToplingDB had added
TableFactory::AllowIntraL0Compaction()
for this purpose, then we realized usingmax_level1_subcompactions > 1
is more sensible, and it just needs few code changes.