Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
-
None
Description
This Jira is for handling block tokens. At DN ECREconstructionCoordinator we need to create containers remotely/locally, need to listBlocks on containers, close containers and read/write chunks. For these operations, we are using ContainerProtocolsCalls and all of them need tokens.
One idea is, create a lightweight block token manager at DN and generate tokens and which can be verified at other DN.
For container tokens, we can request from SCM or we can send some tokens from SCM as part of reconstruction command request. If we send tokens from SCM as part of command, expiry time should be little longer as the actual reconstruction work may be started late depending on DN loads and that may not be safe?.
Attachments
Issue Links
- links to