You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by lt...@apache.org on 2019/07/29 08:02:24 UTC
[incubator-iotdb] branch dyna_para_perf_test updated: delete
synchronized
This is an automated email from the ASF dual-hosted git repository.
lta pushed a commit to branch dyna_para_perf_test
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/dyna_para_perf_test by this push:
new 57607e4 delete synchronized
57607e4 is described below
commit 57607e42404757560a000c30ca02384d628fe2a4
Author: lta <li...@163.com>
AuthorDate: Mon Jul 29 16:02:09 2019 +0800
delete synchronized
---
.../org/apache/iotdb/db/conf/adapter/IoTDBConfigDynamicAdapter.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/adapter/IoTDBConfigDynamicAdapter.java b/server/src/main/java/org/apache/iotdb/db/conf/adapter/IoTDBConfigDynamicAdapter.java
index e91f22d..55e3c3c 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/adapter/IoTDBConfigDynamicAdapter.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/adapter/IoTDBConfigDynamicAdapter.java
@@ -212,7 +212,7 @@ public class IoTDBConfigDynamicAdapter implements IDynamicAdapter {
* TODO: Currently IoTDB only supports to add a storage group.
*/
@Override
- public synchronized void addOrDeleteStorageGroup(int diff) throws ConfigAdjusterException {
+ public void addOrDeleteStorageGroup(int diff) throws ConfigAdjusterException {
LOGGER.info(
"Before adding a storage group, storage group size is {}, timeseries size is {}, max memTable num is {}, tsFile threshold is {}, memtableSize is {}, memTableSizeFloorThreshold is {}",
totalStorageGroup, totalTimeseries, maxMemTableNum, CONFIG.getTsFileSizeThreshold(),
@@ -239,7 +239,7 @@ public class IoTDBConfigDynamicAdapter implements IDynamicAdapter {
}
@Override
- public synchronized void addOrDeleteTimeSeries(int diff) throws ConfigAdjusterException {
+ public void addOrDeleteTimeSeries(int diff) throws ConfigAdjusterException {
if(!CONFIG.isEnableParameterAdapter()){
return;
}