HBASE-16971 The passed durability of Append/Increment isn't used in wal sync (ChiaPing Tsai)
This commit is contained in:
parent
c3bb3b35c5
commit
861880b86b
|
@ -7282,7 +7282,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
|
||||||
WALEdit walEdit = reckonDeltas(op, mutation, effectiveDurability, forMemStore, results);
|
WALEdit walEdit = reckonDeltas(op, mutation, effectiveDurability, forMemStore, results);
|
||||||
// Actually write to WAL now if a walEdit to apply.
|
// Actually write to WAL now if a walEdit to apply.
|
||||||
if (walEdit != null && !walEdit.isEmpty()) {
|
if (walEdit != null && !walEdit.isEmpty()) {
|
||||||
writeEntry = doWALAppend(walEdit, durability, nonceGroup, nonce);
|
writeEntry = doWALAppend(walEdit, effectiveDurability, nonceGroup, nonce);
|
||||||
} else {
|
} else {
|
||||||
// If walEdits is empty, it means we skipped the WAL; update LongAdders and start an mvcc
|
// If walEdits is empty, it means we skipped the WAL; update LongAdders and start an mvcc
|
||||||
// transaction.
|
// transaction.
|
||||||
|
|
Loading…
Reference in New Issue