Skip to content

Conversation

@qzsee
Copy link
Contributor

@qzsee qzsee commented Aug 21, 2024

Proposed changes

cherry-pick from #38700

Issue Number: close #xxx


Proposed changes

Issue Number: close #xxx

## Proposed changes
1. fix partition storage policy info lost
When adding a storage policy to a table through an alter statement, the
partition policy is lost when the FE is restarted because the storage
policy is not set for the partition synchronously.

2. when setting policies, check the uniq table in advance to prevent
metadata inconsistencies
    

3. show storage policy using for stmt support any string policy name
     
If the policy name begins with a number, the statement cannot be parsed.

Issue Number: close #xxx

<!--Describe your changes.-->

---------

Co-authored-by: garenshi <garenshi@tencent.com>
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@qzsee
Copy link
Contributor Author

qzsee commented Aug 21, 2024

run buildall

@yiguolei yiguolei merged commit 76b7a52 into apache:branch-2.1 Aug 21, 2024
@yiguolei yiguolei mentioned this pull request Sep 5, 2024
3 tasks
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