[Drbd-dev] gen_counts and primary --human
philipp.reisner at linbit.com
Wed Aug 25 11:42:49 CEST 2004
On Monday 23 August 2004 16:28, Lars Ellenberg wrote:
> > Yet an other deficiency:
> > we still do not handle the gencounts correctly in this situation:
> > S --- S
> > P --- S drbdsetup primary --human
> > now, N1 increments its human cnt, N2 only its connection count after
> > failure of N1, N2 will take over, maybe be primary for a whole week.
> > then N1 comes back, has the higher human count, and will
> > either [see above] (if N2 still is Primary)
> > or wipe out a week worth of changes (if N2 was demoted to Secondary
> > meanwhile).
> > Oops :-(
> I'd suggest to ignore the --human flag when connected.
> It does not make sense in the connected case.
Right. We should fix that rather sooner than later.
: Dipl-Ing Philipp Reisner Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria http://www.linbit.com :
More information about the drbd-dev