Vitaliy Filippov
f904576ab1
Fix total calculation in rm_data
2025-03-15 17:01:10 +03:00
Vitaliy Filippov
4f9b1f2f62
Support listing PGs by OSDs
2025-03-15 16:42:57 +03:00
Vitaliy Filippov
819f1125ae
Support used_for_app instead of used_for_fs
2025-03-07 01:03:43 +03:00
Vitaliy Filippov
c3d8fdd855
Fix snap-create without pool_id ID generation with multiple pools
2025-02-26 11:54:28 +03:00
Vitaliy Filippov
df3c63ca7f
Sort vitastor-cli ls by name by default
2025-02-20 01:32:49 +03:00
Vitaliy Filippov
069808dfce
Fix --config_path option in docs
2025-01-24 17:21:11 +03:00
Vitaliy Filippov
d9d90d3183
Fix build for debian buster
2025-01-03 16:21:56 +03:00
Vitaliy Filippov
9dbcdbcec9
Return left_on_dead OSD list in DELETE replies and use it in rm-data
2025-01-03 15:57:09 +03:00
Vitaliy Filippov
a147f7e7dc
Copy & repeat deletions too
2025-01-03 00:21:52 +03:00
Vitaliy Filippov
ab822d3050
Support consistent listings in client (rm-data, merge and etc)
2025-01-02 18:07:12 +03:00
Vitaliy Filippov
40b8a8b0da
Add wait_up_timeout support to cluster_client and use it in vitastor-cli rm-data & merge
2025-01-01 17:57:58 +03:00
Vitaliy Filippov
5c5119aba4
Pass min_offset/max_offset to list_inode()
2025-01-01 15:40:12 +03:00
Vitaliy Filippov
80dda3ca94
Remove separate list_inode_next()
2025-01-01 14:19:18 +03:00
Vitaliy Filippov
c8decb32e8
Rename to client_wait_up_timeout
2025-01-01 11:26:57 +03:00
Vitaliy Filippov
d9f9b0bca5
Start listings consistently with the current PG state, add wait_up_timeout
...
This still doesn't make listings 100% consistent yet; for 100% consistent
listings we have to receive listings only from the primary OSD, not from all
peer OSDs, but this issue will be fixed separately.
2025-01-01 10:58:22 +03:00
Vitaliy Filippov
ecd92655fe
Fix rm --exact / --matching not removing one uppermost image in each chain
2024-12-28 21:53:49 +03:00
Vitaliy Filippov
383712148b
Fix rm --exact / --matching not being invoked at all O_o
2024-12-28 21:47:00 +03:00
Vitaliy Filippov
561b36a4c1
Use revision from txn response header, not from put subresponse
2024-12-28 21:01:15 +03:00
Vitaliy Filippov
a31592d131
Print sizes in "Auto-selecting" as "4K", not "4 K"
2024-12-28 19:15:23 +03:00
Vitaliy Filippov
de6b345473
Fix create-snap taking parent_pool from incorrect key parent_pool_id
2024-12-28 18:53:29 +03:00
Vitaliy Filippov
ba9aabf187
Return listing errors from list_inode_start(), abort merging and fail deletion on unsuccessfull listings
2024-12-27 18:31:21 +03:00
Vitaliy Filippov
5c890e4a12
Fix rm-data hanging when some OSDs are inactive, add a test for it
...
There's also another case which also needs to be fixed - we shouldn't retry
deletions for indefinite time if an OSD is stopped during deletion
2024-12-27 16:29:33 +03:00
Vitaliy Filippov
0b0c2afbce
Implement "deleted" flag
2024-12-27 01:18:55 +03:00
Vitaliy Filippov
651c055bd9
Show backfillfull pools in vitastor-cli status
2024-12-26 12:17:47 +03:00
Vitaliy Filippov
63b85b6bfb
Fix clang warnings/errors
2024-12-19 15:30:31 +03:00
Vitaliy Filippov
64db31ec10
Fix slow op warning format
2024-12-11 21:09:36 +03:00
Vitaliy Filippov
66c9271cbd
Radically simplify create-pool pg_size check
2024-11-22 01:44:14 +03:00
Vitaliy Filippov
262c581400
Fix create-pool for the case of hosts split into sub-nodes
2024-11-22 01:01:07 +03:00
Vitaliy Filippov
c7a4ce7341
Take out_size from dd oimg if not specified
2024-11-19 02:13:34 +03:00
Vitaliy Filippov
7e076c7049
Do not report OSDs with empty statistics as full
2024-11-16 23:36:16 +03:00
Vitaliy Filippov
9c59d30e83
Report slow ops in OSD stats in etcd and show them in vitastor-cli status
2024-11-16 15:11:16 +03:00
Vitaliy Filippov
ef8c21ad6f
Change %lu to %ju
2024-11-06 02:58:51 +03:00
Vitaliy Filippov
a03508320e
Move json_is_true/json_is_false to json_util.cpp
2024-10-12 00:40:39 +03:00
Vitaliy Filippov
c9ccc790ec
Fix non-array tags not showing up in ls-osd/osd-tree
2024-10-11 18:33:35 +03:00
Vitaliy Filippov
2e76ceabbe
Fix iseek option in vitastor-cli dd
2024-10-05 18:25:38 +03:00
Vitaliy Filippov
3df088c207
Validate conv=, iflag=, oflag= options in vitastor-cli dd
2024-10-05 18:02:36 +03:00
Vitaliy Filippov
d5f7005ddd
Add dd and rm --exact|--matching documentation
2024-09-05 02:22:05 +03:00
Vitaliy Filippov
9c2132882c
Fix unaligned last block read/write in cli_dd
2024-09-04 11:05:56 +03:00
Vitaliy Filippov
ba9f263b75
Add wildcard removal command
2024-08-31 14:13:09 +03:00
Vitaliy Filippov
30eaa1a8e6
Add vitastor-cli ls --exact
2024-08-31 02:36:25 +03:00
Vitaliy Filippov
986cd11705
Implement CLI "dd" command - copy data between Vitastor images, files and pipes
2024-08-30 02:31:06 +03:00
Vitaliy Filippov
f848c450a4
Clients should not wait infinitely for etcd to start if it's unavailable
2024-08-28 02:03:35 +03:00
Vitaliy Filippov
4121c66281
Autodetect block_size/bitmap_granularity/immediate_commit when creating pools
2024-08-28 02:03:35 +03:00
Vitaliy Filippov
b3716fbe23
Validate pool name when creating a pool
2024-08-28 02:03:35 +03:00
Vitaliy Filippov
b263d311ef
Use separate watch revisions for different watchers
2024-07-31 01:15:37 +03:00
Vitaliy Filippov
306a3db7f3
Rename VERSION define to VITASTOR_VERSION
2024-07-31 01:15:37 +03:00
Vitaliy Filippov
5b0aebada4
Rename /config/pgs to /pg/config and /pg/stats/* to /pgstats/*
2024-07-31 01:15:37 +03:00
Vitaliy Filippov
42cf3a11df
Oops, fix reweight :)
2024-07-16 00:01:11 +03:00
Vitaliy Filippov
f0630722ce
Make pool-create error message more obvious, add details
2024-07-15 11:47:49 +03:00
Vitaliy Filippov
93b0947720
Support size suffixes in pool-create --block_size / --bitmap_granularity
2024-07-15 11:47:05 +03:00