要保持恢复日志文件的完整性,一次只能允许单个客户端流程对其进行访问。 通过使用先前讨论到的排它网络文件锁定来确保访问的进行。
To maintain the integrity of a recovery log file, only a single client process can access the log at a time; this access can be assured using the exclusive network file locks discussed previously.
关于排它文件锁定,不同文件系统有不同的性能来支持。并且这些锁定在客户端发生故障或无法响应时无效。
Different file systems have different capabilities with respect to support for exclusive file locks and the ability of those locks to become invalidated when a client fails or becomes unresponsive.
一些文件系统支持网络客户端获取对文件的排它写锁定,以及当客户端死机时移交锁定。
Some file systems support network clients obtaining an exclusive write lock on a file and remove the lock if the client crashes.
应用推荐