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

   ## Description
   
   This patch creates the exact tree-model database on the receiver before 
replaying a schema region snapshot. Without this, replayed schema statements 
may trigger auto database creation with the receiver-side default database 
level, creating an ancestor database such as  oot.test. Later synchronization 
of the real source databases, for example  oot.test.g_0 or  oot.test.sg_0, then 
conflicts with that ancestor database and realtime tablet events fail because 
the exact database does not exist.
   
   The change also treats an already-existing exact database as idempotent 
success and maps database conflicts during this pre-create step to pipe 
receiver user conflicts.
   
   ## Tests
   
   - mvn -pl iotdb-core/datanode -DskipTests spotless:apply
   - mvn -pl iotdb-core/datanode -DskipTests compile fails before validating 
this change because the local master build resolves/generated mismatched 
symbols unrelated to this file, including NextFillNode, M4TableFunction, and 
subscription consensus config methods.


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