[Bugs] [Bug 1651584] [geo-rep]: validate the config checkpoint date and fail if it is not is exact format hh :mm:ss

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 21 03:40:01 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1651584

Kotresh HR <khiremat at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |khiremat at redhat.com



--- Comment #2 from Kotresh HR <khiremat at redhat.com> ---
Description of problem:
=======================

Currently the validation is upto 3 values but it does not validate further.
Ideally anything which is not in exact format (Y-m-d H:M:S) should fail. 

[root at dhcp42-7 scripts]# gluster volume geo-replication master
10.70.43.249::slave config checkpoint 2017-03-05 15:30:45:10:11:12:13
geo-replication config updated successfully
[root at dhcp42-7 scripts]#
[root at dhcp42-7 scripts]# gluster volume geo-replication master
10.70.43.249::slave config checkpoint 2017-03-05 15:30:45:aa:bb:cc
geo-replication config updated successfully
[root at dhcp42-7 scripts]# 


Version-Release number of selected component (if applicable):
=============================================================
mainline


How reproducible:
=================

Always

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list