Skip to content

Commit

Permalink
Merge pull request #125 from ZSYTY/fix_20230322
Browse files Browse the repository at this point in the history
LGTM
  • Loading branch information
wcf2333 authored Mar 22, 2023
2 parents 93e0379 + 6bd9327 commit d71a81c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2662,7 +2662,7 @@ public static class ConnectionParamValues {
true);

public static final IntConfigParam MAX_SESSION_PREPARED_STMT_COUNT = new IntConfigParam(
ConnectionProperties.MAX_SESSION_PREPARED_STMT_COUNT, 0, Integer.MAX_VALUE, 100, true);
ConnectionProperties.MAX_SESSION_PREPARED_STMT_COUNT, 0, Integer.MAX_VALUE, 256, true);

public static final BooleanConfigParam ENABLE_PARTITIONS_HEATMAP_COLLECTION = new BooleanConfigParam(
ConnectionProperties.ENABLE_PARTITIONS_HEATMAP_COLLECTION, true, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
import com.alibaba.polardbx.common.CrcAccumulator;
import com.alibaba.polardbx.common.Engine;
import com.alibaba.polardbx.common.OrderInvariantHasher;
import com.alibaba.polardbx.common.OrderInvariantHasher;
import com.alibaba.polardbx.common.async.AsyncTask;
import com.alibaba.polardbx.common.jdbc.ParameterContext;
import com.alibaba.polardbx.common.orc.OrcBloomFilter;
import com.alibaba.polardbx.common.oss.OSSMetaLifeCycle;
import com.alibaba.polardbx.common.utils.TStringUtil;
import com.alibaba.polardbx.executor.ddl.job.meta.FileStorageBackFillAccessor;
import com.alibaba.polardbx.executor.gsi.GsiBackfillManager;
import com.alibaba.polardbx.executor.mpp.deploy.ServiceProvider;
import com.alibaba.polardbx.gms.engine.FileSystemUtils;
import com.alibaba.polardbx.common.oss.access.OSSKey;
import com.alibaba.polardbx.common.properties.ConnectionParams;
Expand Down Expand Up @@ -393,8 +394,8 @@ public synchronized void flush(ExecutionContext ec) {
}

// submit async flush task
PriorityWorkQueue.getInstance()
.executeWithContext(flushTask, PriorityFIFOTask.TaskPriority.OSS_FLUSH);
ServiceProvider.getInstance().getServerExecutor()
.submit(this.logicalTable, this.taskId.toString(), AsyncTask.build(flushTask));

totalRows = 0L;
}
Expand Down

0 comments on commit d71a81c

Please sign in to comment.