wepay / waltz

Waltz is a quorum-based distributed write-ahead log for replicating transactions
https://wepay.github.io/waltz/
Apache License 2.0
411 stars 35 forks source link

EnsureMounted Timeout #174

Closed hrdlotom closed 1 year ago

hrdlotom commented 1 year ago

Introducing timeout of 10s to Client's Partition EnsureMounted(), after which a WaitForMountedTimeoutException is thrown.

This exception acts as other exceptions thrown in this method and is handled by methods invoking waltzClient.submit() that are part of Waltz client services.

Testing: The easiest way to test the code is through WaltzServerTest.testConcurrencyControlMultipleLocks