VGalaxies commented on PR #17780:
URL: https://github.com/apache/iotdb/pull/17780#issuecomment-4563191571

   Thanks @Caideyipi, addressed the three findings in b6086b2f4e.
   
   - P1 serialization compatibility: removed the optional owner fields from the 
non-self-describing TopicMeta serialization tail. Owner state is now restored 
from topic attributes after deserialization, so sequential TopicMeta 
snapshot/procedure streams are not consumed out of boundary. Added a sequential 
deserialization regression test.
   - P1 epoch rollback: added TopicMeta.validateOwnerProgression(...) and 
applied it on both ConfigNode alter-topic metadata replacement and DataNode 
topic-meta update handling, rejecting owner clears/rollbacks/stale same-epoch 
owner changes. Added ConfigNode rollback coverage and extended the 
network-partition old-SN test to verify stale topic meta cannot make the old 
owner valid again.
   - P2 client classification: mapped 1913-1917 explicitly to 
SubscriptionOwnerFencedException, a SubscriptionRuntimeNonCriticalException 
subclass, so stale-owner/business fencing errors no longer fall into the 
generic critical default path.
   
   Local verification passed:
   - mvn spotless:apply -pl 
iotdb-client/service-rpc,iotdb-client/subscription,iotdb-core/node-commons,iotdb-core/datanode,iotdb-core/confignode
 -DskipTests
   - mvn test -pl 
iotdb-client/service-rpc,iotdb-client/subscription,iotdb-core/node-commons 
-Dtest=TopicDeSerTest -DfailIfNoTests=false 
-Dsurefire.failIfNoSpecifiedTests=false
   - mvn test -pl 
iotdb-client/service-rpc,iotdb-client/subscription,iotdb-core/node-commons,iotdb-core/confignode
 -Dtest=SubscriptionInfoTest -DfailIfNoTests=false 
-Dsurefire.failIfNoSpecifiedTests=false
   - mvn test -pl 
iotdb-core/relational-grammar,iotdb-client/service-rpc,iotdb-client/subscription,iotdb-core/node-commons,iotdb-core/datanode
 -Dtest=SubscriptionReceiverV1Test -DfailIfNoTests=false 
-Dsurefire.failIfNoSpecifiedTests=false
   - mvn test -pl iotdb-client/service-rpc,iotdb-client/subscription 
-Dtest=TSStatusCodeTest -DfailIfNoTests=false 
-Dsurefire.failIfNoSpecifiedTests=false
   - git diff --check
   
   The Sonar duplication check is queued again on the new commit; I will follow 
up if the rerun still fails.


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