-
Notifications
You must be signed in to change notification settings - Fork 1
Description
-
For argument: Since
LockDescriptorwont have anOwnerfield oncesessionshave been implemented, there wont be any need for theObjectDescriptortype. -
Against argument: As we have seen the need of the
ObjectDescriptortype in the past, we might need to add more fields toLockDescriptorin the future and then we would need to revert back to having 2 types. -
Conflict: While calling
AcquireorReleasein the client, the argument - Descriptor, must not have an option for the user to send any sort ofOwnerIDon account of security. However, we need owner data further down the line because it needs to be passed on to the lockservice to verify that the user process that is manipulating the lock has access to do so.
Thus, the lockclient functions must have a different argument input - sayObjectDescriptorbutLockDescriptormust stay so that it can be passed on later to the internal lockservice functions.