-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[IOTDB-5]fundamental classes for supporting deletion #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
wujysh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should not paste private links on Apache repository. It is not friendly for the public open source community.
iotdb/src/main/java/org/apache/iotdb/db/engine/modification/package-info.java
Outdated
Show resolved
Hide resolved
|
LGTM except the PR title. Can you change to a more clear one? |
|
I may try, though I am bad at naming. |
|
I think it's better to open an issue(include description, implementation, documents, etc) in jira. All pull requests should be associated in this issue. |
iotdb/src/main/java/org/apache/iotdb/db/engine/modification/Deletion.java
Outdated
Show resolved
Hide resolved
iotdb/src/main/java/org/apache/iotdb/db/engine/modification/Modification.java
Outdated
Show resolved
Hide resolved
| */ | ||
| public void close() throws IOException { | ||
| synchronized (this) { | ||
| writer.close(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to call reader.close() here. Otherwise please set reader.close() as a private function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reader and writer refer to the same object in this implementation, so there is no need to close reader after writer is closed.
.../src/main/java/org/apache/iotdb/db/engine/modification/io/LocalTextModificationAccessor.java
Show resolved
Hide resolved
|
SonarCloud Quality Gate failed.
|
# This is the 1st commit message: Fix query one sensor in a vector from memtable (apache#3056) Fix query one sensor in a vector from memtable # This is the commit message apache#2: [IOTDB-1310] Enable docker, docker-compose and testcontainer for End to end test (apache#3024) * enable TestCongtainer for E2E test for (singleNode and cluster) * remove duplicated operations in integration-test phase * move spotless:apply to a profile `spotless`, which is enabled by default. Co-authored-by: xiangdong huang <sainthxd@gmail.com> # This is the commit message apache#3: add sink interface # This is the commit message apache#4: 3 new event sinks # This is the commit message apache#5: add ts sink # This is the commit message apache#6: add ts sink # This is the commit message apache#7: add mqtt sink # This is the commit message apache#8: refactor sink module # This is the commit message apache#9: init package sink.manager # This is the commit message apache#10: rename SinkException # This is the commit message apache#11: remove id in config # This is the commit message apache#12: fix doc # This is the commit message apache#13: add test framework # This is the commit message apache#14: add alertmanager sink & test & doc # This is the commit message apache#15: beautify the doc
Fundamental classes for supporting deletion.