Skip to content

Add --from-time parameter to limit interval of interest for S3 objects modification time#56

Merged
aalexfvk merged 1 commit intomainfrom
MDB-23506_add_from_period
Aug 28, 2023
Merged

Add --from-time parameter to limit interval of interest for S3 objects modification time#56
aalexfvk merged 1 commit intomainfrom
MDB-23506_add_from_period

Conversation

@aalexfvk
Copy link
Contributor

@aalexfvk aalexfvk commented Aug 28, 2023

Add optional --from-time parameter to limit interval of modification time of S3 objects inspected during object-storage list command. If parameter is not set, all objects up to to-time are considered.
--guard-interval was renamed to --to-time as the end of the interval of interest.

Use case:
sudo chadmin object-storage list -o -l 10 --from-time 3d --to-time 1d
will output first 10 orphaned objects with modification time not older 3 days and no newer 1 day.

@aalexfvk aalexfvk requested a review from Alex-Burmak August 28, 2023 15:28
@aalexfvk aalexfvk merged commit 1fcbea8 into main Aug 28, 2023
@aalexfvk aalexfvk deleted the MDB-23506_add_from_period branch August 28, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants