Open StevenBlair123 opened 1 year ago
Have you seen anything on the server side? From the error message I'd expect an errors in the server logs.
[ 1,12,15:45:20.256,DBG] IDEMPOTENT WRITE TO STREAM ClientCorrelationID c1321167-af19-4c91-a983-e2e7c5181757, "EventStreamId: TestStream1617ff842b064cbc98023c9a4e17f2a5, CorrelationId: c6d3dea6-9765-4d38-9576-f2fd38ea81ea, FirstEventNumber: 0, LastEventNumber: 0".
Describe the bug After writing an event to the database, we truncate the stream, then attempt to write the same event to the stream. An exception is thrown on the second AppendToStreamAsync call.
To Reproduce Steps to reproduce the behavior:
Expected behavior No Error should be thrown.
Actual behavior Exception is thrown:
Grpc.Core.RpcException : Status(StatusCode="Unknown", Detail="Exception was thrown by handler.")
Config/Logs/Screenshots If applicable, please attach your node configuration, logs or any screenshots.
EventStore details
EventStore server version: 22.10
Operating system: Windows
EventStore client version (if applicable): 23.0
Additional context
I have included my unit test incase it's something in the test that wrong: