Yoni Augarten
10/01/2023, 12:51 PMlinkPhysicalAddress
in swagger.yml:
If the supplied token matches the current staging token, associate the object as the
physical address with the supplied path.
Otherwise, if staging has been committed and the token has expired, return a conflict [...]From the code of
LinkPhysicalAddress
:
// Because CreateEntry tracks staging on a database with atomic operations,
// _ignore_ the staging token here: no harm done even if a race was lost
// against a commit.
I think the swagger.yml doc is not up to date? Or am I missing something? CC @Niro @Barak AmarNiro
10/01/2023, 3:15 PM