Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
1. OzoneManager starts KeyManager
2. KeyManager starts KeyDeletingService
3. KeyDeletingService uses OzoneManager.isLeader()
4. OzoneManager.isLeader() uses omRatisServer
5. omRatisServer can be null (bumm)
Now the initialization order in OzoneManager:
new KeymanagerServer() Includes start()!!!!
omRatisServer initialization
start() (includes KeyManager.start())
The solution seems to be easy: start the key manager only from the OzoneManager.start() and not from the OzoneManager.instantiateServices()
Attachments
Issue Links
- links to