Repository navigation
kv: make delete range optional on number of keys - #27317
Conversation
|
very cool! i was having trouble making progress on #15183 because it has to list the keys first in order to limit the number of entries removed at a time |
926128f to
4828e36
Compare
|
@tchaikov Thanks for your patience, attention will be paid in future.. |
There was a problem hiding this comment.
i don't think this would compile. for accessing the new-style options, you need to put
max_items_rmrange(cct->_conf->get_val<uint64_t>("rocksdb_max_items_rmrange"))There was a problem hiding this comment.
thanks again, updated
There was a problem hiding this comment.
sorry, should be
_conf.get_val<uint64_t>(...).
Actually, we may only wanna let the objects with real big number of omap to use delete range. if not, we find too many tombstones will have side-effects on performance of kv. refer: https://github.com/facebook/rocksdb/wiki/DeleteRange-Implementation Signed-off-by: Zengran Zhang <[email protected]>
|
retest this please |
|
@tchaikov thanks so much! |
|
this came up in @markhpc's performance call today. we've had i'd propose turning |
* refs/pull/27317/head: kv: make delete range optional on number of keys Reviewed-by: Kefu Chai <[email protected]>
|
@cbodley i postd a email to devel list about omap list performance, can you give some thought? thanks! |
Actually, we may only wanna let the objects with real big number of omap to
use delete range. if not, we find too many tombstones will have side-effects
on performance of kv.
refer: https://github.com/facebook/rocksdb/wiki/DeleteRange-Implementation
Signed-off-by: Zengran Zhang [email protected]