Skip to content

pgremapper drain: support draining from multiple sources - #41

Merged
diffs merged 8 commits into
mainfrom
STORSYS-2232/drain-multiple-sources
Jul 28, 2023
Merged

diffs merged 8 commits into
mainfrom
STORSYS-2232/drain-multiple-sources

Conversation

@diffs

@diffs diffs commented Jul 27, 2023

Copy link
Copy Markdown
Contributor

Allows you to specify multiple OSDs, or an entire osdspec as your source for the 'drain' sub-command.

Comment thread main.go Resolved
Comment thread main.go Resolved
Comment thread main.go Resolved
Comment thread README.md Resolved
Comment thread README.md Resolved
Comment thread main.go Resolved
Comment thread README.md

```
$ ./pgremapper export-mappings <osdspec> ... [--output <file>] [--whole-pg]
$ ./pgremapper export-mappings <osdspec> [<osdspec> ...] [--output <file>] [--whole-pg]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the code docs need an update here too?

I'll stop being a pain now :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha no worries

pgremapper/main.go

Lines 306 to 310 in 7928d2f

Use: "export-mappings <osdspec> [<osdspec> ...]",
Short: "Export the mappings from the given OSD spec(s).",
Long: `Export the mappings from the given OSD spec(s).
Export all upmaps for the given OSD spec(s) in a json format usable by

It LGTM

@diffs
diffs merged commit 8ab06ac into main Jul 28, 2023
@diffs
diffs deleted the STORSYS-2232/drain-multiple-sources branch July 28, 2023 21:17
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