HBASE-12728 buffered writes substantially less useful after removal of HTablePool (addendum)
This commit is contained in:
parent
74adb11f4c
commit
588b43b06b
|
@ -1385,6 +1385,10 @@ public class HTable implements HTableInterface {
|
|||
*/
|
||||
@Override
|
||||
public void flushCommits() throws IOException {
|
||||
if (mutator == null) {
|
||||
// nothing to flush if there's no mutator; don't bother creating one.
|
||||
return;
|
||||
}
|
||||
getBufferedMutator().flush();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue