use correct version in DiskObjectStorageMetadata

This commit is contained in:
Antonio Andelic 2022-06-13 11:53:25 +00:00
parent 9ec56fa362
commit e9904501bc

View File

@ -72,7 +72,7 @@ void DiskObjectStorageMetadata::deserializeFromString(const std::string & data)
void DiskObjectStorageMetadata::serialize(WriteBuffer & buf, bool sync) const
{
writeIntText(VERSION_RELATIVE_PATHS, buf);
writeIntText(VERSION_READ_ONLY_FLAG, buf);
writeChar('\n', buf);
writeIntText(remote_fs_objects.size(), buf);