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
Implement keyset key fail-fast feature with 7-day timeout (#2088)
* Implement keyset key fail-fast feature with 7-day timeout
- Update Main.java to wire keysetkey verticle callback to shutdown handler
- Add Consumer import and overloaded createAndDeployRotatingStoreVerticle method
- Update KeyManager to accept keyAvailabilityHandler callback
- Call handler on successful/failed key retrieval in getMasterKey/getRefreshKey
- Add 7-day timeout parameter to OperatorShutdownHandler constructor
- Maintains backward compatibility with existing constructors
This enables the operator to shut down after 7 days of consecutive keyset key
sync failures, allowing Kubernetes to restart and potentially recover.
* Add keysetkey fail-fast logic and handleKeysetKeyRefreshResponse
* Remove unnecessary KeyManager callback - RotatingStoreVerticle handles monitoring
* Update uid2-shared version reference
* Enable DEBUG logging for OperatorShutdownHandler
* Add timer accumulation logging and keyset key unit tests
* [CI Pipeline] Released Snapshot version: 5.58.63-alpha-245-SNAPSHOT
* make KeysetKeysFailedShutdownHours configurable, simplify reconvery logic
* make KeysetKeysFailedShutdownHours configurable, simplify reconvery logic
* remove fall back constuctor
* bump version
* shut down behavior changes
* remove redundant logging
* log failure at an interval
* log failure at an interval
* [CI Pipeline] Released Snapshot version: 5.58.64-alpha-246-SNAPSHOT
* simplify delayed timer, since exact logging schedule is not that important
* Remove DEBUG logger for OperatorShutdownHandler
* beautify
* simplify calcualtion logics for delayed logging
* Update uid2-shared.version to 11.1.80
* Update version from 5.58.64-alpha-246-SNAPSHOT to 5.58.62
---------
Co-authored-by: Release Workflow <[email protected]>
0 commit comments