EventStore / EventStore-Client-Dotnet

Dotnet Client SDK for the Event Store gRPC Client API written in C#
Other
140 stars 38 forks source link

22.0.0 EventStore.Client.ReadState does not respond in time in the stream with expired events #213

Closed tlutsyk closed 7 months ago

tlutsyk commented 2 years ago

Describe the bug When we read the state from the stream where all events with expired max-age - EventStore.Client.ReadState does not respond in time. Deadline and cancellation token are ignored.

To Reproduce Steps to reproduce the behavior:

  1. Create a stream
  2. Set stream max-age to 5 seconds.
  3. Try to read the events in the stream when the max-age of all events in the stream is expired.
  4. EventStore.Client.ReadState does not respond in time. We see that the deadline and cancellation token are ignored.

Expected behavior ReadState returns the actual state (OK)

Actual behavior EventStore.Client.ReadState does not respond in time.

Сode to reproduce the problem image

EventStore details

timothycoleman commented 1 year ago

hi @tlutsyk sorry for the slow response on this

did you mean server version 20.10.5? (22.10.5 isn't a valid server version (yet!))

if so would you mind checking on a more recent server version. i tried 21.10.5 in case you meant that version and it seems to be working there

timothycoleman commented 7 months ago

hi, I'm going to close this for inactivity, please feel free to reopen if you need any further assitance