From 1b1d26434238ad53bb5191b70a38ddb07d292577 Mon Sep 17 00:00:00 2001 From: Yanqin Jin Date: Mon, 13 Aug 2018 11:06:44 -0700 Subject: [PATCH] Remove an assersion about file size (#4268) Summary: Due to 4ea56b1bd00b5f8751e5e9733d01ceb33ebd09e3, we should also remove the assersion in stress test. This removal can be temporary, and we can add it back once we figure out the reason for the 0-byte SSTs. Pull Request resolved: https://github.com/facebook/rocksdb/pull/4268 Differential Revision: D9297186 Pulled By: riversand963 fbshipit-source-id: cebba9a68f42e815f8cf24471176d2cfdf962f63 --- tools/db_stress.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/db_stress.cc b/tools/db_stress.cc index d4ee4c2d8..995dbe30f 100644 --- a/tools/db_stress.cc +++ b/tools/db_stress.cc @@ -1252,7 +1252,6 @@ class DbStressListener : public EventListener { VerifyFilePath(info.file_path); assert(info.job_id > 0 || FLAGS_compact_files_one_in > 0); if (info.status.ok()) { - assert(info.file_size > 0); assert(info.table_properties.data_size > 0); assert(info.table_properties.raw_key_size > 0); assert(info.table_properties.num_entries > 0);