-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable speedb features rebase #543
Conversation
Running make_format on the branch still has formatting issues |
@RoyBenMoshe - An initial batch of comments. Let's discuss |
@RoyBenMoshe Another batch of comments. I am not done yet, but will wait with the rest until you have addressed the comments in this batch. Thanks |
Please update the HISTORY.md as part of the PR as well. |
include/rocksdb/options.h
Outdated
// enable the spdb features | ||
// please note that a call to enable speedb options in the level of cf should | ||
// follow | ||
DBOptions* EnableSpeedbFeaturesDB(SpeedbSharedOptions& shared_options); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above (the cf part)
6975047
to
46f8553
Compare
on hold until #610 is pushed |
This cannot be merged until the requested changes from @mrambacher are addressed. |
c941690
to
d6dd77f
Compare
d6dd77f
to
25ecc10
Compare
9cdd880
to
1edf41a
Compare
@@ -299,8 +303,6 @@ DEFINE_string( | |||
"\twaitforcompaction - pause until compaction is (probably) done\n" | |||
"\tflush - flush the memtable\n" | |||
"\tstats -- Print DB stats\n" | |||
"\ttable-readers-mem -- Print table readers memory. excluding memory " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why it is related?
options/options.cc
Outdated
} | ||
|
||
void SharedOptions::IncreaseWriteBufferSize(size_t increase_by) { | ||
if (write_buffer_manager->buffer_size() == 1 && increase_by > 1) { | ||
write_buffer_manager->SetBufferSize(increase_by); | ||
if (total_ram_size_bytes_ / 4 > increase_by) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using 4 is not the right way . pls defined and. use the define
options/options.cc
Outdated
} | ||
|
||
void SharedOptions::IncreaseWriteBufferSize(size_t increase_by) { | ||
if (write_buffer_manager->buffer_size() == 1 && increase_by > 1) { | ||
write_buffer_manager->SetBufferSize(increase_by); | ||
if (total_ram_size_bytes_ / 4 > increase_by) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls calc the increase size on a local parameter, and just call SetBufferSize once with the correct value
57a129b
to
98fbb56
Compare
98fbb56
to
b4be9d9
Compare
No description provided.