shuwenwei opened a new pull request, #18814:
URL: https://github.com/apache/iotdb/pull/18814

   ## Motivation
   
   `IDeviceID.isTableModel()` is being removed in apache/tsfile#998. This PR 
removes its usages in the DataNode and takes the data model from the 
surrounding context instead.
   
   ## Changes
   
   - Query, compaction and load-pipe paths derive table/tree from the database 
name, the data region or the query context (`QueryContext` / 
`FragmentInstanceContext`).
   - `ignoreAllNullRows` is no longer stored in `AlignedWritableMemChunk` / 
`AbstractMemTable`. It is passed explicitly through the chunk, group, memtable 
and flush APIs, and resolved once where the context is known.
   - WAL recovery resolves the model from the tsfile database 
(`UnsealedTsFileRecoverPerformer`, `TsFilePlanRedoer`), and `MemTableFlushTask` 
takes it from its caller.
   - `ImportWAL` resolves the target database of every WAL directory before 
replaying and fails fast requiring `-db/--database` when it cannot be inferred.
   - `TsFileProcessor#getQueryTimeLowerBound` no longer infers the model from 
the `root.` device prefix, and looks up the table TTL with the database name of 
the data region.
   
   ## Notes
   
   - Draft: depends on the tsfile-side removal of `IDeviceID.isTableModel` 
(apache/tsfile#998); the tsfile version bump is handled separately.


-- 
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]

Reply via email to