I've recently upgraded to EventStore 4.0.1 in our test environment and am seeing seemingly spurious errors. Net result is - an append operation is denied access, with the following logged in EventStore:
I [00001,29,16:59:11.545] Error during processing CheckStreamAccess(<redacted>, ) request.
I eventNumber should be non negative.
I Parameter name: eventNumber
I [00001,37,16:59:41.663] Error during processing CheckStreamAccess(<redacted>, ) request.
I eventNumber should be non negative.
I Parameter name: eventNumber
The problem appears to simply go away on its own after a large number of retries.
We're using the ESJC Java client.
Any ideas? Code or framework versions have not changed on our end, so this appear to be some type of issue with EventStore 4 - we were previously on 3.7.0 and this is the first time I've observed this.
Cheers,
Kristian