{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/29364","repository_url":"https://api.github.com/repos/ceph/ceph","labels_url":"https://api.github.com/repos/ceph/ceph/issues/29364/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/29364/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/29364/events","html_url":"https://github.com/ceph/ceph/pull/29364","id":473517456,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAxNjcwMjE1","number":29364,"title":"doc: pg_num should always be a power of two","user":{"login":"capri1989","id":19579259,"node_id":"MDQ6VXNlcjE5NTc5MjU5","avatar_url":"https://avatars3.githubusercontent.com/u/19579259?v=4","gravatar_id":"","url":"https://api.github.com/users/capri1989","html_url":"https://github.com/capri1989","followers_url":"https://api.github.com/users/capri1989/followers","following_url":"https://api.github.com/users/capri1989/following{/other_user}","gists_url":"https://api.github.com/users/capri1989/gists{/gist_id}","starred_url":"https://api.github.com/users/capri1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capri1989/subscriptions","organizations_url":"https://api.github.com/users/capri1989/orgs","repos_url":"https://api.github.com/users/capri1989/repos","events_url":"https://api.github.com/users/capri1989/events{/privacy}","received_events_url":"https://api.github.com/users/capri1989/received_events","type":"User","site_admin":false},"labels":[{"id":141186344,"node_id":"MDU6TGFiZWwxNDExODYzNDQ=","url":"https://api.github.com/repos/ceph/ceph/labels/documentation","name":"documentation","color":"fef2c0","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-07-26T20:11:26Z","updated_at":"2019-08-01T11:50:39Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/29364","html_url":"https://github.com/ceph/ceph/pull/29364","diff_url":"https://github.com/ceph/ceph/pull/29364.diff","patch_url":"https://github.com/ceph/ceph/pull/29364.patch"},"body":"Hi,\r\n\r\nI updated the pg_num section in the docs just a little to be more strict.\r\nI think we should make it crystal clear that pg num should be a power of two and only if there's a real good reason and someone knows exactly why they need a different value they can proceed. \r\n\r\nI think this is the first step of several to make this clearer to the end user. Next step would be to show a Health WARN and also to flag the pool creation red in the dashboard if someone would like to add a pool and the pg count isn't a power of two.\r\n\r\nWhy do I would like to be more strict about it? We've seen more and more clusters were the osd variation was really high. The fix to that was always to set the pg_num + balancer. Also the pg autoscaler only uses power of two so we shouldn't even encourage people to use something different right from the beginning or to phrase i differently, we should protect the end-user right away.\r\n\r\nFIxes: https://tracker.ceph.com/issues/41004\r\nSigned-off-by: Kai Wagner <kwagner@suse.com>\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/517251476","html_url":"https://github.com/ceph/ceph/pull/29364#issuecomment-517251476","issue_url":"https://api.github.com/repos/ceph/ceph/issues/29364","id":517251476,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNzI1MTQ3Ng==","user":{"login":"theanalyst","id":1433152,"node_id":"MDQ6VXNlcjE0MzMxNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1433152?v=4","gravatar_id":"","url":"https://api.github.com/users/theanalyst","html_url":"https://github.com/theanalyst","followers_url":"https://api.github.com/users/theanalyst/followers","following_url":"https://api.github.com/users/theanalyst/following{/other_user}","gists_url":"https://api.github.com/users/theanalyst/gists{/gist_id}","starred_url":"https://api.github.com/users/theanalyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theanalyst/subscriptions","organizations_url":"https://api.github.com/users/theanalyst/orgs","repos_url":"https://api.github.com/users/theanalyst/repos","events_url":"https://api.github.com/users/theanalyst/events{/privacy}","received_events_url":"https://api.github.com/users/theanalyst/received_events","type":"User","site_admin":false},"created_at":"2019-08-01T11:50:39Z","updated_at":"2019-08-01T11:50:39Z","author_association":"MEMBER","body":"jenkins build docs"}}
{"actor":{"display_login":"theanalyst"}}