tmp_partition_qa1
This commit is contained in:
@ -17,12 +17,12 @@
|
||||
|
||||
package org.apache.doris.cluster;
|
||||
|
||||
import com.google.common.base.Preconditions;
|
||||
import org.apache.doris.catalog.InfoSchemaDb;
|
||||
import org.apache.doris.common.io.Text;
|
||||
import org.apache.doris.common.io.Writable;
|
||||
import org.apache.doris.persist.LinkDbInfo;
|
||||
|
||||
import com.google.common.base.Preconditions;
|
||||
import com.google.common.base.Strings;
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
@ -128,9 +128,6 @@ public class Cluster implements Writable {
|
||||
dbNames.add(name);
|
||||
dbIds.add(id);
|
||||
dbNameToIDs.put(name, id);
|
||||
LOG.info("after cluster {} add db: {}-{}, dbIds: {}, dbNames: {}, dbNameToIDs: {}",
|
||||
this.name, name, id, dbIds, dbNames, dbNameToIDs);
|
||||
|
||||
} finally {
|
||||
unlock();
|
||||
}
|
||||
@ -153,8 +150,6 @@ public class Cluster implements Writable {
|
||||
try {
|
||||
dbNames.remove(name);
|
||||
dbIds.remove(id);
|
||||
LOG.info("after cluster {} remove db: {}-{}, dbIds: {}, dbNames: {}, dbNameToIDs: {}",
|
||||
this.name, name, id, dbIds, dbNames, dbNameToIDs);
|
||||
} finally {
|
||||
unlock();
|
||||
}
|
||||
@ -209,8 +204,6 @@ public class Cluster implements Writable {
|
||||
dbCount--;
|
||||
}
|
||||
|
||||
LOG.info("write cluster: {}, dbIds: {}, dbNames: {}, dbNameToIDs: {}",
|
||||
this.name, dbIds, dbNames, dbNameToIDs);
|
||||
out.writeInt(dbCount);
|
||||
// don't persist InfoSchemaDb meta
|
||||
for (String name : dbNames) {
|
||||
@ -277,7 +270,5 @@ public class Cluster implements Writable {
|
||||
value.readFields(in);
|
||||
linkDbIds.put(key, value);
|
||||
}
|
||||
LOG.info("read cluster: {}, dbIds: {}, dbNames: {}, dbNameToIDs: {}",
|
||||
this.name, dbIds, dbNames, dbNameToIDs);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user