You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "shuwenwei (via GitHub)" <gi...@apache.org> on 2024/07/11 10:21:14 UTC
[PR] Insertion compaction may cause new data lost [iotdb]
shuwenwei opened a new pull request, #12908:
URL: https://github.com/apache/iotdb/pull/12908
## Description
<img width="846" alt="截屏2024-07-11 18 17 25" src="https://github.com/apache/iotdb/assets/55970239/dc1db887-7d6b-4804-aa0a-d159f955a4ad">
When inserting and merging, 20-3-0-0 cannot be moved to the sequential area because it overlaps with the sequential area, but 30-4-0-0 does not overlap with the sequential area. If 30-4-0-0 is moved to the sequence area, the following situation will occur
<img width="798" alt="截屏2024-07-11 18 17 44" src="https://github.com/apache/iotdb/assets/55970239/3f85845f-33c1-434a-a11f-199191abc783">
At this time, if a merge occurs in the sequential space, the following situation will occur. The data corresponding to the original version 4 will be merged in the sequential space and become the data of version 1. These data of version 4 should have covered the data in 20-3-0-0, but now it is changed to version 3. The data in the file is overwritten.
<img width="790" alt="截屏2024-07-11 18 17 53" src="https://github.com/apache/iotdb/assets/55970239/9fbf5431-53c1-4625-af2f-86609c36aa98">
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Insertion compaction may cause new data lost [iotdb]
Posted by "jt2594838 (via GitHub)" <gi...@apache.org>.
jt2594838 merged PR #12908:
URL: https://github.com/apache/iotdb/pull/12908
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org