Skip to content

rgw: add json encode/decode to bucket layout types - #39231

Closed
cbodley wants to merge 2 commits into
ceph:masterfrom
cbodley:wip-rgw-bucket-layout-json
Closed

cbodley wants to merge 2 commits into
ceph:masterfrom
cbodley:wip-rgw-bucket-layout-json

Conversation

@cbodley

@cbodley cbodley commented Feb 2, 2021

Copy link
Copy Markdown
Contributor

adds a "layout" section to RGWBucketInfo:

            "layout": {
                "resharding": "None",
                "current_index": {
                    "gen": 0,
                    "layout": {
                        "type": "Normal",
                        "normal": {
                            "num_shards": 11,
                            "hash_type": "Mod"
                        }
                    }
                },
                "logs": [
                    {
                        "gen": 0,
                        "layout": {
                            "type": "InIndex",
                            "in_index": {
                                "gen": 0,
                                "layout": {
                                    "num_shards": 11,
                                    "hash_type": "Mod"
                                }
                            }
                        }
                    }
                ]
            }

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

adds a "layout" section to RGWBucketInfo

Signed-off-by: Casey Bodley <[email protected]>
@cbodley cbodley added the rgw label Feb 2, 2021
@cbodley
cbodley requested a review from smanjara February 2, 2021 15:34
@github-actions github-actions Bot added the common label Feb 2, 2021
@cbodley cbodley mentioned this pull request Feb 2, 2021
28 of 31 tasks
@cbodley

cbodley commented Feb 8, 2021

Copy link
Copy Markdown
Contributor Author

merged into #39002

@cbodley cbodley closed this Feb 8, 2021
@cbodley
cbodley deleted the wip-rgw-bucket-layout-json branch February 8, 2021 16:15
@mattbenjamin

Copy link
Copy Markdown
Contributor

yay

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants