vamossagar12 commented on issue #2237:
URL: https://github.com/apache/fluss/issues/2237#issuecomment-3715313325

   Thanks for the repro. I took your solution a step further and removed the 
drop table commands in `testTableChanges` and started seeing similar errors in 
`testPartitionedTable`.
   
   I think the problem is that curatorCache performs an initial sync when 
started, which means when each test's TableChangeWatcher.start() is called, it 
immediately reads all existing nodes from ZooKeeper and fires events for them. 
To mitigate the issue, I modified the PR to clean up the ZK state before every 
test. I tried running the test after that and they seem to be passing. 


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