ColumnFamilyUpdater doesn't respect clock for deletes #495

Open
catplusplus opened this Issue Jul 11, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Current delete method doesn't respect clock set on ColumnFamilyUpdater, leading to lost updates when both update and delete are based on old column's value. deleteColumn should be implemented as follows:

public void deleteColumn(N columnName) {
    mutator.addDeletion(getCurrentKey(), template.getColumnFamily(),
            columnName, template.getTopSerializer(), clock);
}
Contributor

memoleaf commented Dec 6, 2012

+1

@zznate zznate added a commit that referenced this issue Dec 6, 2012

@zznate zznate Merge pull request #568 from memoleaf/master
Fixed Issue #495 ColumnFamilyUpdater doesn't respect clock for deletes
9ecfa5e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment