The difference between the new version and the old version of HBase Table interface

during HBase development, older versions of HBase HTableInterface did this:

try (HTableInterface htable = connection.getTable(tableName)) {
            htable.setAutoFlushTo(false);
            Delete delete = new Delete(Bytes.toBytes(rowKey));
            htable.delete(delete);
            htable.flushCommits();
        }

the new version of the HBase Table interface is:

try (Table htable = getConnection().getTable(TableName.valueOf(tableName))) {
            Delete delete = new Delete(Bytes.toBytes(rowKey));
            htable.delete(delete);
        }

what is the function of the auto flush of the former? What are the possible adverse effects of not adding this control in the development of the new version?
Thank you!

Jul.17,2021
Menu