EventStore/EventStore-Client-Dotnet

Reading a stream from it's last position randomly fails

alexeyzimarev opened this issue · 1 comments

Scenario:

  • Append one event to a stream
  • Read the whole stream from StreamPosition.Start
  • Read the whole stream from StreamPosition.FromInt64(1)
  • Repeat a few times

Result:
After a few successful attempts, it will fail with this exception

Unhandled exception. System.InvalidOperationException: Status(StatusCode="Internal", Detail="Error starting gRPC call. InvalidOperationException: Multiple grpc-status headers.", DebugException="System.InvalidOperationException: Multiple grpc-status headers.

Here is the repro: https://github.com/Eventuous/repro-esdb-read-randomly-fails

This should be fixed in 21.10.x
not in 20.10.x ( out of support soon)
EventStore/EventStore#3471