replication fails and corrupts index with zlib enabled