-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Some rocksdb option wrong, storaged upgrade and can't start #1966
Comments
That's because some option can't be set dynamically, in your case, "bloom locality" and "write_buffer_size". And for now we just return error. How about these ones take effact when storage restart? |
And some option is not the |
Correct. I mix and didn't look carefully at these two kinds of options. My suggestion is a warning or error when setting config incorrectly. There are too many options in Rocksdb, and error-prone to set them. It's better than accept the option when setting and fail to restart. So, you can fix this issue later. By the way, how to set Rocksdb option are very hard, but very import to improve performance in different on-site cases (more vertex lookup, or more edge scan, or more range deletes). Only one default storage.conf is far from enough for those situations. I prefer the storaged to provide a way to change and check this options. (maybe together with some suggestions) |
https://discuss.nebula-graph.com.cn/t/topic/11717/23 Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com>
ERROR:
update rocksdb_column_family_options from {"write_buffer_size":"67108864","max_write_buffer_number":"4","max_bytes_for_level_base":"268435456","bloom_locality":"1"} to {"max_background_compactions":"4","level0_file_num_compaction_trigger":"2","bloom_locality":"1","disable_auto_compactions":"false","max_background_jobs":"8","max_bytes_for_level_base":"268435456","max_write_buffer_number":"4","write_buffer_size":"67108864"}
I upgrade storaged version from Feb.20 to Mar 24.
I've update config several times.
I think it's due to rocksdb options check.
The text was updated successfully, but these errors were encountered: