Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

PKCS11 Resilience #293

Closed
sudeshrshetty opened this issue Feb 10, 2021 · 0 comments · Fixed by #294
Closed

PKCS11 Resilience #293

sudeshrshetty opened this issue Feb 10, 2021 · 0 comments · Fixed by #294
Assignees
Labels
enhancement New feature or request

Comments

@sudeshrshetty
Copy link
Member

session handling

  • maintaining session pool for performance
  • filtering invalid sessions before returning it to session pool
  • validating and discarding invalid sessions while fetching it from session pool
  • discarding sessions when session pool is full

resilience scenario

  • validating session on each get & return calls to detect problems and performing re-login or context recovery based on error scenarios to avoid peer restart for complete recovery.
  • maintaining recovery state when ctx is being finalized or being re-initialized to avoid panics in other threads attempting to use PKCS11 functions.
@sudeshrshetty sudeshrshetty self-assigned this Feb 10, 2021
@sudeshrshetty sudeshrshetty added the enhancement New feature or request label Feb 10, 2021
@sudeshrshetty sudeshrshetty modified the milestone: 0.1.6 Feb 10, 2021
sudeshrshetty added a commit to sudeshrshetty/fabric-mod that referenced this issue Feb 10, 2021
- Refer issue trustbloc#293 for scenarios covered
- Closes trustbloc#293

Signed-off-by: sudesh.shetty <[email protected]>
sudeshrshetty added a commit to sudeshrshetty/fabric-mod that referenced this issue Feb 10, 2021
- Refer issue trustbloc#293 for scenarios covered
- Closes trustbloc#293

Signed-off-by: sudesh.shetty <[email protected]>
sudeshrshetty added a commit to sudeshrshetty/fabric-mod that referenced this issue Feb 10, 2021
- Refer issue trustbloc#293 for scenarios covered
- Closes trustbloc#293

Signed-off-by: sudesh.shetty <[email protected]>
sudeshrshetty added a commit to sudeshrshetty/fabric-mod that referenced this issue Feb 10, 2021
- Refer issue trustbloc#293 for scenarios covered
- Closes trustbloc#293

Signed-off-by: sudesh.shetty <[email protected]>
sudeshrshetty added a commit to sudeshrshetty/fabric-mod that referenced this issue Feb 10, 2021
- Refer issue trustbloc#293 for scenarios covered
- Closes trustbloc#293

Signed-off-by: sudesh.shetty <[email protected]>
sudeshrshetty added a commit to sudeshrshetty/fabric-mod that referenced this issue Feb 10, 2021
- Refer issue trustbloc#293 for scenarios covered
- Closes trustbloc#293

Signed-off-by: sudesh.shetty <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant