HBASE-14989 Implementation of Mutation.getWriteToWAL() is backwards
This commit is contained in:
parent
a93c0e822e
commit
f3ebeeb3fc
|
@ -238,7 +238,7 @@ public abstract class Mutation extends OperationWithAttributes implements Row, C
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public boolean getWriteToWAL() {
|
public boolean getWriteToWAL() {
|
||||||
return this.durability == Durability.SKIP_WAL;
|
return this.durability != Durability.SKIP_WAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue