-
Notifications
You must be signed in to change notification settings - Fork 3.8k
CASSANDRA-19637(trunk): Makes conditions behavior on frozen and non-frozen columns consistent for null column values #3362
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
Conversation
patch by Benedict Elliott Smith; review by Blake Eggleston for CASSANDRA-19617
6a2cb4b to
1d310ee
Compare
| @@ -1,3 +1,4 @@ | |||
| <<<<<<< HEAD | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge conflict
| return open(table.keyspace).getColumnFamilyStore(table.id); | ||
| } | ||
|
|
||
| public static ColumnFamilyStore openAndGetStoreIfExists(TableMetadata table) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add @Nullable?
| * Returns a ColumnFamilyStore by metadata if it exists, null otherwise | ||
| * Differently from others, this method does not throw exception if the table does not exist. | ||
| */ | ||
| public static ColumnFamilyStore getIfExists(TableMetadata table) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add @Nullable?
| return cfs; | ||
| } | ||
|
|
||
| public ColumnFamilyStore getIfExists(TableId id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add @Nullable?
dcapwell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't know paxos well enough to comment that the changes are correct and safe, so would need someone like @belliottsmith to review that section. The rest of the changes LGTM though
|
@dcapwell Looking at the PR I mixed up 2 patches here. Let me clean my mess. |
Thanks for sending a pull request! Here are some tips if you're new here:
Commit messages should follow the following format:
The Cassandra Jira