摘要 |
Each file in a file system has one or more associated metadata fields, and each metadata field is associated with a different lease. A computing device sends a request to a directory server for one or more leases that are needed by the computing device to perform an operation on a file. The directory server receives the request from the computing device and determines whether the operation can succeed. One or more leases to perform the operation are issued to the computing device if it is determined that the operation can succeed, and one or more leases that reveal failure are issued to the computing device if it is determined that the operation cannot succeed. The computing device receives the issued lease(s) and uses the received lease(s) to determine whether the computing device can perform the operation on the file.
|