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

   Add IoTDBPipeConsensus3C3DBasicIT for PipeConsensus (IoTConsensusV2) on a 3 
ConfigNode + 3 DataNode cluster.
   
   Tests:
   
   1. test3C3DWriteFlushAndQuery: Start 3C3D cluster, write data, flush, and 
verify data via query.
   2. testReplicaConsistencyAfterLeaderStop: With replication factor 2, stop 
the leader DataNode and verify the former follower (new leader) serves the same 
data after failover.
   
   
   Implementation details:
   
   1. Config: IoTConsensusV2 batch mode, DataReplicationFactor=2, 
SchemaReplicationFactor=3.
   2. Uses getConnection(followerNode) to query the specific follower instead 
of a random available node.
   3. Extends IoTDBRegionOperationReliabilityITFramework for 
getDataRegionMapWithLeader and cluster setup/teardown.
   4. Uses getString() in verifyDataConsistency for IoTDB JDBC compatibility.


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