You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple admins could simultaneously see that there are pending key rotations. It might make sense to add a random delay before rotating keys, or to come up with another way to ensure that these don't pile up.
This happens in Team.checkForPendingKeyRotations
Test plan:
Builds on the test "unwinds an invalidated admission" in sync.test.ts
Instead of just Alice, there are multiple admins
Assert that the team keys are only rotated once
The text was updated successfully, but these errors were encountered:
HerbCaudill
changed the title
If we have multiple admins, we don't want them to all jump on it at once because the duplicate actions will create a lot of churn. So maybe depending on how many admins there are in the group, we should wait some random amount of time before doing the key rotation.
Stagger key rotation when unwinding invalidated invitation
Jan 27, 2022
Multiple admins could simultaneously see that there are pending key rotations. It might make sense to add a random delay before rotating keys, or to come up with another way to ensure that these don't pile up.
This happens in Team.checkForPendingKeyRotations
Test plan:
sync.test.ts
The text was updated successfully, but these errors were encountered: