Caideyipi opened a new pull request, #18218:
URL: https://github.com/apache/iotdb/pull/18218
## Description
Backport of #18180 (8b60437ee428cb1394a700d8d0281966ea44a6af) to dev/1.3.
This adapts the fixes that apply to the 1.3 codebase:
- rebuild ConfigNode Pipe listener references and replace stale
snapshot-derived state;
- clean up generated Pipe/subscription TsFiles and async transfer resources
on failures;
- reset listening queues safely during snapshot deserialization;
- preserve maximum recovered flush times, clear last-flush memory
accounting, and report rejected tablet ranges;
- roll back aligned-row memory accounting when the following non-aligned
reservation fails.
The 2.x-only table-model Pipe builders and consensus-subscription
frontier/commit-progress implementation are not present on dev/1.3, so those
parts of the original commit are intentionally omitted.
## Verification
- mvn spotless:apply -pl
iotdb-core/node-commons,iotdb-core/datanode,iotdb-core/confignode
- mvn -o -nsu -Ddevelocity.off=true test-compile -DskipTests -pl
iotdb-core/node-commons,iotdb-core/datanode,iotdb-core/confignode
- Targeted tests for:
- ConcurrentIterableLinkedQueueTest
- AbstractPipeListeningQueueTest
- PipeTransferTsFileHandlerCleanupTest
- LastFlushTimeMapTest
- SubscriptionPipeTsFileEventBatchCleanupTest
- PipeConfigRegionListenerSnapshotTest
- QuotaInfoTest
- TemplatePreSetTableTest
- TemplateTableTest
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]