Skip to content

Commit

Permalink
Fix bug for LOAD_ALL_WITH_PARTIAL_LOCK (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored May 14, 2024
1 parent a293ff5 commit a303990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/interpreter/persistence.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (am *PersistenceManager) UnlockPersistence(

if daPolicy != nil &&
(daPolicy.GetPersistenceLoadingType() == iwfidl.PARTIAL_WITH_EXCLUSIVE_LOCK ||
saPolicy.GetPersistenceLoadingType() == iwfidl.ALL_WITH_PARTIAL_LOCK) {
daPolicy.GetPersistenceLoadingType() == iwfidl.ALL_WITH_PARTIAL_LOCK) {
am.unlockKeys(am.lockedDataObjectKeys, daPolicy.GetLockingKeys())
}
}

0 comments on commit a303990

Please sign in to comment.