You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the implementation translate all error into InvalidArgument for some reasons. The inconsistence between implementation and document is disturbing.
The text was updated successfully, but these errors were encountered:
J0HN50N133
changed the title
GetDBOptionsFromMap
Inconsistence of GetDBOptionsFromMap between implementation and document
Dec 25, 2024
Expected behavior
as describe in document:
rocksdb/include/rocksdb/convenience.h
Line 296 in e3024e7
This following expression should be true.
GetDBOptionsFromMap(cfg, options, {}, new_options).code() == rocksdb::Status::kNotFound
Actual behavior
But in fact, the expression is false, the status code is
rocksdb::Status::InvalidArgument
rocksdb/options/options_helper.cc
Line 734 in e3024e7
It seems the implementation translate all error into
InvalidArgument
for some reasons. The inconsistence between implementation and document is disturbing.The text was updated successfully, but these errors were encountered: