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

sql/row: fix updates of single-composite-column families #131869

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 4, 2024

  1. sql/row: fix updates of single-composite-column families

    When updating a single-column family which contains what could be a
    composite value from the primary key, we still need to issue a Del even
    if the new value for the column is not composite, because the previous
    value might have been composite.
    
    Fixes: cockroachdb#131860
    Informs: cockroachdb#131645
    
    Release note (bug fix): Fix a rare bug in which an update of a primary
    key column which is also the only column in a separate column family can
    sometimes fail to update the primary index. This bug has existed since
    v22.2.
    michae2 committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    1672db9 View commit details
    Browse the repository at this point in the history