Skip to content

Commit

Permalink
Update release notes with FAB-18250
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
  • Loading branch information
lindluni authored and denyeart committed Sep 29, 2020
1 parent 7b7ad6b commit 99a01b2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions release_notes/v2.2.1.md
Expand Up @@ -116,6 +116,15 @@ However, chaincode still attempted to retrieve from the cache,
and therefore an incorrect value may be retrieved.
The fix ensures that for values larger than 64kb, the data will be retrieved from CouchDB.

**FAB-18250: Introduce error checking for evicting invalid PKCS11 sessions**

FAB-17722 introduced a call to the pkcs11 GetSessionInfo function for retrieving the current state of
the PKCS11 session. The result of this function was used to determine whether a session was still
valid to perform HSM operations or if it should be evicted from the session pool. Performance tests
showed that the call to GetSessionInfo was computationally prohibitively expensive. FAB-18242 reverted
this change and FAB-18250 introduced a new method for determining if the PKCS11 session is invalid.
Now when an HSM operation fails, we check the resultant error against the known session error codes and
evict the session from the pool if the error was the result of an invalid session.

Deprecations (existing)
-----------------------
Expand Down

0 comments on commit 99a01b2

Please sign in to comment.