Files
scylladb/api
Kefu Chai 64b8bb239f api/storage_service: throw if table is not found when move tablets
`database::find_column_family()` throws no_such_column_family
if an unknown ks.cf is fed to it. and we call into this function
without checking for the existence of ks.cf first. since
"/storage_service/tablets/move" is a public interface, we should
translate this error to a better http error.

in this change, we check for the existence of the given ks.cf, and
throw an exception so that it can be caught by seastar::httpd::routers,
and converted to an HTTP error.

Fixes #17198
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>

Closes scylladb/scylladb#17217
2024-04-04 11:23:52 +03:00
..
2024-01-25 11:28:02 +03:00
2024-01-25 11:28:02 +03:00
2024-01-25 11:28:02 +03:00
2024-01-25 11:28:02 +03:00
2024-01-25 11:28:02 +03:00
2024-01-25 11:28:02 +03:00
2024-01-25 11:28:02 +03:00
2024-01-25 11:28:02 +03:00
2024-01-25 11:28:02 +03:00