Add a debug assertion in order to chaise a bug when serialization finishes

This commit is contained in:
Roman Gershman 2022-05-31 17:56:27 +03:00
parent c7534dfb6a
commit f641ba83b9
1 changed files with 1 additions and 0 deletions

View File

@ -648,6 +648,7 @@ error_code RdbSaver::SaveBody(RdbTypeFreqMap* freq_map) {
pushed_bytes += ptr->channel_bytes();
}
DCHECK(!channel.TryPop(record));
VLOG(1) << "Blobs written " << num_written << " pulled bytes: " << channel_bytes
<< " pushed bytes: " << pushed_bytes;
if (io_error)