You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MinIO with site replication has a bug where objects may still be available for a short window after a successful delete request.
This causes issues in cases where we clear a workspace and test for that workspace's existence within a short window as we will incorrectly return that the workspace does exist even when it should be deleted.
The object delete code should be updated to block thread/coroutine execution until the target object is confirmed deleted by followup calls to MinIO returning 404s.
This means:
Request a target object's deletion from MinIO
Stat the target object repeatedly until MinIO returns a 404
Return to caller
The text was updated successfully, but these errors were encountered:
This issue is slightly complicated by the introduction of blocking. For services that are bound directly to Java threads the delay between stat calls to MinIO should be implemented via Thread.sleep, however in services making use of Kotlin's coroutine API, the delay would be implemented using suspend functions and delay.
To keep the door open for s34k's move to a more idiomatic Kotlin implementation as well as any future coroutine based services, I will adjust the API to use suspend functions and alter the async platform to wrap them and bind them to the current thread.
MinIO with site replication has a bug where objects may still be available for a short window after a successful delete request.
This causes issues in cases where we clear a workspace and test for that workspace's existence within a short window as we will incorrectly return that the workspace does exist even when it should be deleted.
The object delete code should be updated to block thread/coroutine execution until the target object is confirmed deleted by followup calls to MinIO returning 404s.
This means:
The text was updated successfully, but these errors were encountered: