Skip to content

Added device-class filter for balance-bucket command - #20

Merged
baergj merged 1 commit into
digitalocean:mainfrom
k0ste:help
Jan 31, 2022
Merged

baergj merged 1 commit into
digitalocean:mainfrom
k0ste:help

Conversation

@k0ste

@k0ste k0ste commented Jan 29, 2022

Copy link
Copy Markdown
Contributor

Added device-class filter for support balancing buckets contains multiple device-classes, should resolves #19

Balance rack without device class:

image

Balance rack with device class:

image

Balance rack with another device class:

image

Test TestDeviceClassFilter added also

@k0ste k0ste mentioned this pull request Jan 29, 2022

@baergj baergj left a comment

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.

This looks good at a glance! I'll take a closer look when I'm back at my desk next week. Just a minor formatting comment for now.

Comment thread ceph.go Resolved
@k0ste
k0ste force-pushed the help branch 2 times, most recently from 19cfa68 to 907f718 Compare January 30, 2022 07:41
@k0ste

k0ste commented Jan 30, 2022

Copy link
Copy Markdown
Contributor Author

Formatting should be fixed now, thanks!

@baergj baergj left a comment

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.

This looks good, thanks! A couple of minor comments only.

Comment thread README.md Resolved
Comment thread ceph.go Resolved
@k0ste

k0ste commented Jan 31, 2022

Copy link
Copy Markdown
Contributor Author

Fixed, left DeviceClass only in struct, like a PgID, IDToNode, or PgUpmapItems

@baergj

baergj commented Jan 31, 2022

Copy link
Copy Markdown
Contributor

Thanks!

@baergj
baergj merged commit 2ce61e9 into digitalocean:main Jan 31, 2022
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.

support for device-class

2 participants