Skip to content

Conversation

dranikpg
Copy link
Contributor

@dranikpg dranikpg commented Aug 9, 2023

Fixes regtest failure

Comment on lines -69 to -71
// Switching db index is only possible for non-atomic execution
DCHECK(!multi_ || (db_index_ == dbid || multi_->mode == NON_ATOMIC));

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are corner cases, the condition becomes too complex with it

romange
romange previously approved these changes Aug 9, 2023
Signed-off-by: Vladislav Oleshko <[email protected]>
@dranikpg dranikpg merged commit 663c1f9 into dragonflydb:main Aug 9, 2023
@dranikpg dranikpg deleted the fix-tests branch August 10, 2023 07:48
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.

3 participants