rocksdb/utilities/backupable
Rohan Rathi fa8c050e9f Fixed buffer overrun in BackupEngineImpl::BackupMeta::StoreToFile
Summary:
The 10MB buffer in BackupEngineImpl::BackupMeta::StoreToFile can be corrupted with a large number of files. Added a check to determine current buffer length and append data to file if buffer becomes full.

Resolves https://github.com/facebook/rocksdb/issues/3228
Closes https://github.com/facebook/rocksdb/pull/3636

Differential Revision: D7354160

Pulled By: ajkr

fbshipit-source-id: eec12d38095a0d17551a4aaee52b99d30a555722
2018-03-22 14:08:10 -07:00
..
backupable_db_test.cc Disallow compactions if there isn't enough free space 2018-03-06 16:27:54 -08:00
backupable_db.cc Fixed buffer overrun in BackupEngineImpl::BackupMeta::StoreToFile 2018-03-22 14:08:10 -07:00