issue #19456: Check type on key. Fix bug in date type. Return a result for renewLock.