We're updating the issue view to help you get more done. 

Infinispan sequence generation is not thread safe

Description

Currently, when two threads call an operation in Infinispan using the same values, they will receive the same value back.
This doesn't work with our sequence generation approach.

Infinispan 9 offers distributed counters, we should use them.

We already have tests in place for this:

  • TableNextValueGenerationTest

  • SequenceNextValueGenerationTest

Environment

None

Status

Assignee

Davide D'Alto

Reporter

Davide D'Alto

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major