juntaozhang opened a new issue, #2771:
URL: https://github.com/apache/fluss/issues/2771

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Fluss version
   
   main (development)
   
   ### Please describe the bug 🐞
   
   In extreme cases,  when testing Delta Join in Flink, after the checkpoint is 
completed, it will call notifyCheckpointComplete. However, for some reason, 
although the request is sent, the response reception fails. As a result, Flink 
keeps sending the request repeatedly and keeps failing, leading to an 
inconsistency between the Flink state and the Fluss state.
   
   ```
   java.util.concurrent.ExecutionException: 
org.apache.fluss.exception.UnknownServerException: 
org.apache.fluss.exception.UnknownServerException: Failed to release kv 
snapshot lease for8af2a797-779d-4690-8e2b-14f889791412
   Caused by: java.lang.NullPointerException: Cannot invoke 
"org.apache.fluss.server.zk.data.lease.KvSnapshotTableLease.getBucketSnapshots()"
 because "tableLease" is null
        at 
org.apache.fluss.server.coordinator.lease.KvSnapshotLeaseHandler.releaseBucket(KvSnapshotLeaseHandler.java:141)
        at 
org.apache.fluss.server.coordinator.lease.KvSnapshotLeaseManager.lambda$release$3(KvSnapshotLeaseManager.java:267)
        at org.apache.fluss.utils.concurrent.LockUtils.inLock(LockUtils.java:32)
   ```
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


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