// NOTE - THIS CANNOT be a write action (create/delete/update) as that will force a write lock
// thus serializing access to this p2 repo. Using a read action here, will block the file from
// being deleted/updated while retrieving the remote item, and that is all we need.
// NXCM-2499 temporarily we do put access serialization back here, to avoid all the deadlocks.
lock.lock(Action.create);
return super.retrieveItem(fromTask, request);
}
finally {
lock.unlock();
}