• Iliya Manolov's avatar
    neoctl: make 'print ids' command display time of TIDs · d9dd39f0
    Iliya Manolov authored
    Currently, the command "neoctl [arguments] print ids" has the following output:
    
        last_oid = 0x...
        last_tid = 0x...
        last_ptid = ...
    
    or
    
        backup_tid = 0x...
        last_tid = 0x...
        last_ptid = ...
    
    depending on whether the cluster is in normal or backup mode.
    
    This is extremely unreadable since the admin is often interested in the time that corresponds to each tid. Now the output is:
    
        last_oid = 0x...
        last_tid = 0x... (yyyy-mm-dd hh:mm:ss.ssssss)
        last_ptid = ...
    
    or
    
        backup_tid = 0x... (yyyy-mm-dd hh:mm:ss.ssssss)
        last_tid = 0x... (yyyy-mm-dd hh:mm:ss.ssssss)
        last_ptid = ...
    
    /reviewed-on !2
    d9dd39f0
util.py 7.26 KB