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

   ## Description
   
   The current DataNode check for SchemaQuota is performed in the SchemaRegion. 
RatisConsensus expects the state machine to respond identically to the same 
apply request in the same state. However, in the case of multiple replicas, due 
to instabilities such as synchronization delays, the SchemaQuotaInfo may be 
different for different replicas, which may result in different SchemaRegion 
replicas responding differently to the same apply request (some replicas 
execute successfully, some replicas throw a QuotaExceededException).
   
   Therefore, this PR moves the DataNode's checking of SchemaQuota above the 
consensus layer. The checks are performed before the execution plan enters the 
consensus layer to avoid errors.
   
   The check cases involved are:
   1. Creation of a time series
   2. Creation of aligned time series
   3. Activating metadata templates
   


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