You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to do an atomic update of metadata, and the update parameter does not help because I have to create or modify the metadata outside of the lock. Doing so would potentially cause the step to overwrite an update that happens after I get the lock to be able to modify it.
It seems like it would be a simple change to have UnclaimLock() take inDir as a parameter and do the mv command from there. However, I wonder if there are reasons for not doing it this way. Is there any other workaround I might use?
The text was updated successfully, but these errors were encountered:
I am trying to do an atomic update of metadata, and the
update
parameter does not help because I have to create or modify the metadata outside of the lock. Doing so would potentially cause the step to overwrite an update that happens after Iget
the lock to be able to modify it.What I would like to do is this:
It seems like it would be a simple change to have
UnclaimLock()
takeinDir
as a parameter and do themv
command from there. However, I wonder if there are reasons for not doing it this way. Is there any other workaround I might use?The text was updated successfully, but these errors were encountered: