Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Store event counters separately for each privacyIDEA node #1833
This PR implements one half of #1819: It modifies the
This hopefully reduces the number of deadlocks in a replicated setup that occur because multiple nodes simultaneously try to write to the same table row. This does actually work, see #1819.
Writing to the correct row is completely handled by the lib level, so the API level does not need to be changed.
This also modifies the
Writing a migration script turned out to be a bit complicated because