Chunk server: chunk inventory calculation: ensure that the target chunk version is stable when calculating chunk inventory checksum and count.