A request is received with a first operation identifier to lock a first
resource. The first resource is locked with the first operation
identifier. It is determined whether a second resource should be locked
with the first operation identifier or with a second operation identifier
based on whether an operation to be performed for the request may
complete after the request is processed. Additional embodiments are
described and claimed.