jixuan1989 commented on a change in pull request #232: [IOTDB-130]Dynamic
parameters adapter
URL: https://github.com/apache/incubator-iotdb/pull/232#discussion_r302626157
##########
File path: iotdb/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java
##########
@@ -182,24 +180,24 @@ public boolean insert(InsertPlan insertPlan) throws
StorageEngineException {
* only for unit test
*/
public void asyncFlushAndSealAllFiles() {
- synchronized (processorMap) {
- for (StorageGroupProcessor storageGroupProcessor :
processorMap.values()) {
- storageGroupProcessor.putAllWorkingTsFileProcessorIntoClosingList();
- }
+ for (StorageGroupProcessor storageGroupProcessor : processorMap.values()) {
Review comment:
do not need to `synchronized` any more?? @qiaojialin
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services