Replication: added new stats counting full and partial resynchronizations.