Pawel Jakub Dawidek 06cbf54941 Scenario:
- We have two nodes connected and synchronized (local counters on both sides
  are 0).
- We take secondary down and recreate it.
- Primary connects to it and starts synchronization (but local counters are
  still 0).
- We switch the roles.
- Synchronization restarts but data is synchronized now from new primary
  (because local counters are 0) that doesn't have new data yet.

This fix this issue we bump local counter on primary when we discover that
connected secondary was recreated and has no data yet.

Reported by:	trociny
Discussed with:	trociny
Tested by:	trociny
MFC after:	1 week
2011-04-19 19:26:27 +00:00
..
2010-08-23 22:24:11 +00:00
2010-11-22 07:00:47 +00:00
2010-02-15 14:07:40 +00:00
2010-08-06 14:33:42 +00:00
2010-08-23 22:24:11 +00:00
2011-03-24 21:31:32 +00:00
2011-02-23 09:22:33 +00:00
2011-04-19 19:26:27 +00:00
2010-03-02 16:58:04 +00:00
2011-01-25 22:25:16 +00:00
2011-02-25 20:49:07 +00:00
2011-03-23 13:44:09 +00:00
2011-02-22 15:31:40 +00:00
2010-08-23 22:24:11 +00:00
2010-03-10 18:51:13 +00:00
2010-06-20 12:52:33 +00:00
2010-12-19 13:40:38 +00:00
2011-04-14 08:53:04 +00:00
2010-12-08 15:12:37 +00:00