泰坦:锁到期时间和等待时间有什么区别?

Titan: what's the difference between lock expiry-time and wait-time?

documentation of Titan 1.0,中我发现这两个配置参数的描述相同,但默认值不同。

 storage.lock.expiry-time
     Number of milliseconds the system waits for a lock application to be acknowledged by the storage backend
     Duration
     300000 ms
     GLOBAL_OFFLINE

storage.lock.wait-time
     Number of milliseconds the system waits for a lock application to be acknowledged by the storage backend
    Duration
    100 ms
    GLOBAL_OFFLINE

这是打错了吗?我应该更改哪一个以避免 Lock expired. 问题?

收获不错。查看 source code,似乎是复制粘贴错误。

storage.lock.expiry-time Number of milliseconds after which a lock is considered to have expired. Lock applications that were not released are considered expired after this time and released. This value should be larger than the maximum time a transaction can take in order to guarantee that no correctly held applications are expired pre-maturely and as small as possible to avoid dead lock.

storage.lock.wait-time The number of milliseconds the system waits for a lock application to be acknowledged by the storage backend. Also, the time waited at the end of all lock applications before verifying that the applications were successful. This value should be a small multiple of the average consistent write time.