I’m trying to implement a document modification form on a Web site. When a user starts to modify a document, the server will lock the document for a few minutes. When the lock expires but the user is still modifying the document, the server should renew the lock for more minutes.
I expect that an application which knows CAS key of a lock should can update the lock TTL with
touch command. But both commands don’t take CAS key as a parameter.
How can I make the server to renew a document lock TTL which the server acquired?