Skip to content

Conversation

@sashapolo
Copy link
Contributor

try (WriteOptions writeOptions = new WriteOptions().setDisableWAL(true)) {
// If we can't construct the range end prefix (nearly impossible case), we need to fallback to manually removing the data,
// since 'deleteRange' doesn't work without the upper bound.
if (rangeEnd == null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather have an assertion that this is impossible. Partition id stops way before 0xffff.
By the way, have you updated the list of column families in RocksDbTableStorage#scheduleFlush? It's easy to miss, because I didn't document it :(

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way, have you updated the list of column families in RocksDbTableStorage#scheduleFlush

Wow, this is a very nice hint

@ibessonov ibessonov merged commit 50c7fb0 into apache:main Aug 24, 2022
@ibessonov ibessonov deleted the ignite-17338 branch August 24, 2022 07:07
lowka pushed a commit to gridgain/apache-ignite-3 that referenced this pull request Mar 18, 2023
lowka pushed a commit to gridgain/apache-ignite-3 that referenced this pull request Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants