Merge pull request #29367 from MaxWk/fix-keeper-data-dumper-build-error

fix build error in keeper data dumper
This commit is contained in:
alexey-milovidov 2021-09-26 08:00:42 +03:00 committed by GitHub
commit b0d45b8638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ int main(int argc, char *argv[])
LOG_INFO(logger, "Last committed index: {}", last_commited_index);
DB::KeeperLogStore changelog(argv[2], 10000000, true);
DB::KeeperLogStore changelog(argv[2], 10000000, true, settings->compress_logs);
changelog.init(last_commited_index, 10000000000UL); /// collect all logs
if (changelog.size() == 0)
LOG_INFO(logger, "Changelog empty");