public boolean tryDisableBinlog(Database db, long tableId) {
        // modify FE meta, return true
        // try best effort to distribute BE tasks
        HashMap<String, String> properties = new HashMap<>();
        properties.put(PropertyAnalyzer.PROPERTIES_BINLOG_ENABLE, "false");
        SchemaChangeHandler schemaChangeHandler = GlobalStateMgr.getCurrentState().getSchemaChangeHandler();
        return schemaChangeHandler.updateBinlogConfigMeta(db, tableId, properties, TTabletMetaType.DISABLE_BINLOG);
    }
@Test
    public void testTryDisableBinlog() {
        Database db = GlobalStateMgr.getCurrentState().getDb("test");
        OlapTable table = (OlapTable) db.getTable("binlog_test");
        boolean result = binlogManager.tryDisableBinlog(db, table.getId());
        Assert.assertFalse(table.isBinlogEnabled());
    }