distinguish kZSTDNotFinalCompression in compression string

Summary:
This confused some users who were getting compression type from the logs.
Closes https://github.com/facebook/rocksdb/pull/3153

Differential Revision: D6294964

Pulled By: ajkr

fbshipit-source-id: 3c813376d33682dc6ccafc9a78df1a2e2528985e
This commit is contained in:
Andrew Kryczka 2017-11-15 19:30:35 -08:00 committed by Facebook Github Bot
parent dd49f89466
commit e27f60b1c8

View file

@ -145,8 +145,9 @@ inline std::string CompressionTypeToString(CompressionType compression_type) {
case kXpressCompression:
return "Xpress";
case kZSTD:
case kZSTDNotFinalCompression:
return "ZSTD";
case kZSTDNotFinalCompression:
return "ZSTDNotFinal";
default:
assert(false);
return "";