[Bugs] [Bug 1611104] [geo-rep]: Upgrade fails, session in FAULTY state
bugzilla at redhat.com
bugzilla at redhat.com
Wed Aug 15 18:40:58 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1611104
Worker Ant <bugzilla-bot at gluster.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|POST |MODIFIED
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20606 committed in release-4.1 by
"Shyamsundar Ranganathan" <srangana at redhat.com> with a commit message- geo-rep:
Fix upgrade issue
Cause and Analysis:
The last synced changelog for entry operations is
marked in current version to avoid re-processing
of already processed entry operations in a batch
during crash/restart of geo-rep. This was not
present in previous versoins.
The marker is maintained in the dictionary with the
key 'last_synced_entry' and dictionary is persisted
into status file. So upgrading to current version in
which the marker is present was failing with KeyError.
Solution:
Load the dictionary with default keys first which
contains all the keys including latest ones and then
load the values from status file instead of doing
otherwise.
Backport of:
> BUG: 1575490
> Change-Id: Ic654e6f9a3c97f616761f1362f890352a2186fb4
> Signed-off-by: Kotresh HR <khiremat at redhat.com>
(cherry picked from commit 23c1385b5f6f6103e820d15ecfe1df31940fdb45)
fixes: bz#1611104
Change-Id: Ic654e6f9a3c97f616761f1362f890352a2186fb4
Signed-off-by: Kotresh HR <khiremat at redhat.com>
(cherry picked from commit 23c1385b5f6f6103e820d15ecfe1df31940fdb45)
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=zfdFBGTp7x&a=cc_unsubscribe
More information about the Bugs
mailing list