[fix](multi-catalog) use last used database for catalog when switch back#14793
Merged
morningman merged 3 commits intoapache:masterfrom Dec 8, 2022
Merged
[fix](multi-catalog) use last used database for catalog when switch back#14793morningman merged 3 commits intoapache:masterfrom
morningman merged 3 commits intoapache:masterfrom
Conversation
Contributor
|
TeamCity pipeline, clickbench performance test result: |
morningman
reviewed
Dec 5, 2022
morningman
reviewed
Dec 5, 2022
1dfb917 to
ed985d0
Compare
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
morningman
reviewed
Dec 7, 2022
morningman
pushed a commit
that referenced
this pull request
Dec 14, 2022
…ack (#14793) remember last used database of every catalog and use it when switch back
This was referenced Jul 15, 2024
morningman
pushed a commit
that referenced
this pull request
Jul 23, 2024
bring by: #14793 issue: lastdbofcatalog is a global variable, so all login user share it. that's not correct, should be a session variable
dataroaring
pushed a commit
that referenced
this pull request
Jul 24, 2024
bring by: #14793 issue: lastdbofcatalog is a global variable, so all login user share it. that's not correct, should be a session variable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
remember last used database of every catalog and use it when switch back
Proposed changes
Issue Number: close #14792
Problem summary
Describe your changes.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...