Caideyipi opened a new pull request, #18406:
URL: https://github.com/apache/iotdb/pull/18406
## Description
The aligned memtable flush fix in f87c9c3e80c introduced active-column
mapping into the common path even when no measurement was deleted. Wide aligned
batches then pay for Integer column mappings and additional per-point branches
during encoding.
This change keeps the deleted-measurement encoding path unchanged and
dispatches to the pre-f87c9c3 tight loop only when the active schema is the
original schema. Flushing memtables are immutable, so the identity check is
stable throughout encoding.
Two focused unit tests verify that:
- flushes without deleted measurements skip column mapping;
- flushes with deleted measurements still use the existing mapped path.
## Tests
- mvn spotless:apply -pl iotdb-core/datanode
- mvn test -pl iotdb-core/datanode -Dtest=MemTableFlushTaskTest
- Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
- The targeted IoTDBPipeReceiverAutoCreateDisabledIT method was attempted
locally, but the test cluster failed in setUp because ConfigNode did not become
reachable. The test body was not entered; the failure is unrelated to this
change.
--
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]