scalar-labs / scalar-jepsen

Jepsen tests for ScalarDB and ScalarDL
45 stars 6 forks source link

Return :info when WriteTimeoutException for counter write #29

Closed yito88 closed 4 years ago

yito88 commented 4 years ago

https://scalar-labs.atlassian.net/browse/DLT-4646 https://scalar-labs.atlassian.net/browse/DLT-4650

In the counter test, after WriteTimeoutException, some values had been applied eventually. However, all results were :fail when WriteTimeoutException in the counter test.

I want to fix this error handling to return :info because a value might be applied eventually.

And, I remove the unneeded retry for the counter write. Retry operation is complicated and the unexpected exception should be removed.