Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2011 20:27:26 +0000 (UTC)
From:      Mikolaj Golub <trociny@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/hastd primary.c
Message-ID:  <201103222027.p2MKRmE3014724@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
trociny     2011-03-22 20:27:26 UTC

  FreeBSD src repository

  Modified files:
    sbin/hastd           primary.c 
  Log:
  SVN rev 219882 on 2011-03-22 20:27:26Z by trociny
  
  After synchronization is complete we should make primary counters be
  equal to secondary counters:
  
    primary_localcnt = secondary_remotecnt
    primary_remotecnt = secondary_localcnt
  
  Previously it was done wrong and split-brain was observed after
  primary had synchronized up-to-date data from secondary.
  
  Approved by:    pjd (mentor)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.65      +3 -3      src/sbin/hastd/primary.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103222027.p2MKRmE3014724>