HBASE-10964 Delete mutation is not consistent with Put wrt timestamp.(Anoop)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1586808 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
anoopsamjohn 2014-04-12 03:16:35 +00:00
parent 89b60b0374
commit 32ae460190
1 changed files with 3 additions and 3 deletions

View File

@ -180,7 +180,7 @@ public class Delete extends Mutation implements Comparable<Row> {
* @return this for invocation chaining
*/
public Delete deleteFamily(byte [] family) {
this.deleteFamily(family, HConstants.LATEST_TIMESTAMP);
this.deleteFamily(family, this.ts);
return this;
}
@ -237,7 +237,7 @@ public class Delete extends Mutation implements Comparable<Row> {
* @return this for invocation chaining
*/
public Delete deleteColumns(byte [] family, byte [] qualifier) {
this.deleteColumns(family, qualifier, HConstants.LATEST_TIMESTAMP);
this.deleteColumns(family, qualifier, this.ts);
return this;
}
@ -274,7 +274,7 @@ public class Delete extends Mutation implements Comparable<Row> {
* @return this for invocation chaining
*/
public Delete deleteColumn(byte [] family, byte [] qualifier) {
this.deleteColumn(family, qualifier, HConstants.LATEST_TIMESTAMP);
this.deleteColumn(family, qualifier, this.ts);
return this;
}