Skip to content

detect a given pg belongs to an ec pool #33

Closed

Description

@microyahoo

Hi @xvillaneau, @baergj, I noticed that when detect whether it is an EC pool, it is only to identify whether the ec profile is equal to replicated_rule, AFAIK, the ec profile can be any string value. So we can detect a ec pool if its ec profile is not null. Any comments are welcome, thanks.
https://github.com/digitalocean/pgremapper/blame/main/ceph.go#L304

Activity

  1. baergj commented on Mar 21, 2023

    @baergj
    Contributor

    Good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions