forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[yugabyte#10340] DocDb: Made compression_type gflag check to be case …
…insensitive Summary: Previously, compression_type gflag check was case sensitive, as a result if the user provided a string that didn't match the expected input, it would crash the TServer. This change fixes the issue by making the gflag check to be case insensitive and not crash the TServer. Providing the compression type as `zlib` instead of `Zlib` should work now as expected. Added new tests to validate the case insensitive checks. Test Plan: Jenkins ``` ctest -R docdb_rocksdb_util ``` Reviewers: rthallam, amitanand Reviewed By: rthallam, amitanand Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D17278
- Loading branch information
1 parent
9737277
commit 4111455
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters