sync-engine - Set counter fields to volatile since value is read from multiple threads