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

CASSANDRA-19590 If legacy cell is dropped, avoid creating a buffer cell #3283

Open
wants to merge 1 commit into
base: cassandra-3.0
Choose a base branch
from

Conversation

klay58172
Copy link

When the legacy data (2.2) satisfies a certain condition

  • Cell belongs to a column which is dropped
  • Another complex column is readded with the same name as the dropped column

Read in 3.0/3.11 for the corresponding table run into the assertion error assert column.isComplex() == (path != null); in BufferCell.java because the column is a complex type while the cell is not a complex type.

This patch tries to check whether the cell is dropped first. If dropped, skip the creation of the BufferCell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant