BUG-8618: refactor SyncStatusTracker state 17/59017/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 14 Jun 2017 23:29:01 +0000 (01:29 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Thu, 15 Jun 2017 11:32:53 +0000 (11:32 +0000)
Introducing a leader target encapsulation allows us to
enfore state transitions (i.e. state is guaranteed to be
non-null when we need its bits).

This enables us to eliminate the need for a magic constant.

Change-Id: Iab7178694edc3c62032e32c4386c371630f67b6f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 2c42c1d35a45fb7eced5a3ffd07b52bdc26f7e40)


No differences found