HBASE-12728 buffered writes substantially less useful after removal of HTablePool (addendum)
This commit is contained in:
parent
3a529c04ce
commit
4b9eaf5851
|
@ -1387,6 +1387,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