You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xu...@apache.org on 2020/12/03 12:15:53 UTC
[iotdb] branch virtual_partition updated: fix bug
This is an automated email from the ASF dual-hosted git repository.
xuekaifeng pushed a commit to branch virtual_partition
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/virtual_partition by this push:
new 710d7c5 fix bug
710d7c5 is described below
commit 710d7c555bb99d688cfe0dcbac667bd67750b143
Author: 151250176 <15...@smail.nju.edu.cn>
AuthorDate: Thu Dec 3 20:15:28 2020 +0800
fix bug
---
server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java b/server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java
index 88110f8..db2e453 100644
--- a/server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java
+++ b/server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java
@@ -744,7 +744,7 @@ public class StorageEngine implements IService {
}
public void setTTL(PartialPath storageGroup, long dataTTL) throws StorageEngineException {
- StorageGroupProcessor storageGroupProcessor = getProcessor(storageGroup);
+ StorageGroupProcessor storageGroupProcessor = getProcessorDirectly(storageGroup);
storageGroupProcessor.setDataTTL(dataTTL);
}