Skip to content

Optimistic Concurrency Failure for Property Update #893

@DasProffi

Description

@DasProffi

Describe the bug

Updating a Property creates an error but still applies the update

Describe how to produce the bug

  1. Have an existing Property
  2. Send an update for the Name
  3. Receive Error, but also the applied Change

Additional context

Error Message

gRPC Error (code: 13, codeName: INTERNAL, message: AggregateStore.doSave: could not append event to stream: [ErrorCodeWrongExpectedVersion] an append request failed the optimistic concurrency on the server: wrong expected version: expecting '65' but got '66', details: [locale: en
I/flutter (11542): message: An error has occurred
I/flutter (11542): ], rawResponse: null, trailers: {date: Wed, 20 Nov 2024 10:33:14 GMT, content-length: 0, grpc-status-details-bin: CA0SzwFBZ2dyZWdhdGVTdG9yZS5kb1NhdmU6IGNvdWxkIG5vdCBhcHBlbmQgZXZlbnQgdG8gc3RyZWFtOiBbRXJyb3JDb2RlV3JvbmdFeHBlY3RlZFZlcnNpb25dIGFuIGFwcGVuZCByZXF1ZXN0IGZhaWxlZCB0aGUgb3B0aW1pc3RpYyBjb25jdXJyZW5jeSBvbiB0aGUgc2VydmVyOiB3cm9uZyBleHBlY3RlZCB2ZXJzaW9uOiBleHBlY3RpbmcgJzY1JyBidXQgZ290ICc2NicaTgovdHlwZS5nb29nbGVhcGlzLmNvbS9nb29nbGUucnBjLkxvY2FsaXplZE1lc3NhZ2USGwoCZW4SFUFuIGVycm9yIGhhcyBvY2N1cnJlZA, server: APISIX/3.9.1})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions