SharonIV0x86 opened a new pull request, #2822:
URL: https://github.com/apache/kvrocks/pull/2822

   Fixes #2817 
   This PR introduces a new parameter to the ``LASTSAVE`` command to return the 
time of last save to disk in a human readable format.
   
   Usage
   ``LASTSAVE ISO8601``
   ``LASTSAVE iso8601``
   
   ``LASTSAVE`` also works for backward compatibility.
   
   
   ```bash
   127.0.0.1:6666> LASTSAVE
   (integer) 1741363334
   127.0.0.1:6666> LASTSAVE iso8601
   "2025-03-07T21:32:14+0530"
   127.0.0.1:6666> LASTSAVE ISO8601
   "2025-03-07T21:32:14+0530"
   127.0.0.1:6666> 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to