Add a debug assertion in order to chaise a bug when serialization finishes
This commit is contained in:
parent
c7534dfb6a
commit
f641ba83b9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue