Skip to content

Delete dbExists() which is redundant.#7906

Merged
oranagra merged 1 commit intoredis:unstablefrom
trevor211:deleteDbExists
Oct 13, 2020
Merged

Delete dbExists() which is redundant.#7906
oranagra merged 1 commit intoredis:unstablefrom
trevor211:deleteDbExists

Conversation

@trevor211
Copy link
Contributor

#5021 fixed exists command on replica, but it did not delete dbExists(), which is never used after that.

Copy link
Member

@oranagra oranagra left a comment

Choose a reason for hiding this comment

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

i was actually recently considering to expose it via a module API.
was having a hard time to decide if using it instead of lookupKey is good or bad.

I suppose we better encourage using lookupKey with various flags rather direct dictFind. in most cases it's probably a bug that's overlooked rather than the intent.

@oranagra oranagra merged commit 24092ee into redis:unstable Oct 13, 2020
@trevor211 trevor211 deleted the deleteDbExists branch October 13, 2020 08:19
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Nov 4, 2020
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