Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] fix partition storage policy info lost (#38700) #39677

Merged
merged 1 commit into from
Aug 21, 2024

Commits on Aug 21, 2024

  1. [BUG] fix partition storage policy info lost (apache#38700)

    ## 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>
    qzsee and garenshi committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    51af468 View commit details
    Browse the repository at this point in the history