Vitaliy Filippov
77167e2920
Do not use \r if output is not a terminal
2024-02-29 00:21:17 +03:00
Vitaliy Filippov
5af23672d0
Fix rm/rm-data error return code, add --down-ok option to bypass the error
2024-02-29 00:20:10 +03:00
Vitaliy Filippov
f20564b44b
Fix 32-bit build warnings (99.9% in printf)
2024-02-22 12:22:16 +03:00
Vitaliy Filippov
cb9c30bc31
Sync after sending all deletes to each PG in cli rm-data
2024-02-03 20:31:08 +03:00
Vitaliy Filippov
8426616d89
Warn about unfinished deletions in rm-data
2023-06-30 01:18:25 +03:00
Vitaliy Filippov
8603b5cb1d
Do not hang on inactive OSDs during delete, report and skip them instead
2023-06-30 00:15:16 +03:00
Vitaliy Filippov
936122bbcf
Initialize msgr lazily in client to speedup vitastor-cli with RDMA enabled
2023-02-19 18:59:07 +03:00
Vitaliy Filippov
2f3c2c5140
Implement safety check for OSD removal, translate all '-' to '_' in cli options
...
'-' to '_' translation fixes a bug with create --image_meta
2022-12-26 02:48:48 +03:00
Vitaliy Filippov
4a531d7b8b
Fix listings sending too many parallel requests to OSDs, fix rm-data crashing with --wait-list
2022-06-03 23:36:37 +03:00
Vitaliy Filippov
a2189100dd
Make CLI functions usable in library form
...
Return results and errors in a variable instead of just printing them,
separate vitastor-cli main() from cli_tool_t, move positional argument
parsing to CLI main from command implementations.
2022-05-06 02:18:32 +03:00
Vitaliy Filippov
842ba8b831
Use (uint64_t)1 instead of 1l / 1ul
2022-04-16 01:48:14 +03:00
Vitaliy Filippov
e23296a327
Rename cli_rm -> cli_rm_data, cli_snap_rm -> cli_rm
2022-02-24 14:34:14 +03:00