[Drbd-dev] gen_counts and primary --human
Lars Ellenberg
Lars.Ellenberg at linbit.com
Mon Aug 23 16:28:04 CEST 2004
> 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.
lge
More information about the drbd-dev
mailing list