Skip to content

[pull] master from ceph:master#283

Merged
pull[bot] merged 15 commits intousefulalgorithm:masterfrom
ceph:master
Oct 4, 2019
Merged

[pull] master from ceph:master#283
pull[bot] merged 15 commits intousefulalgorithm:masterfrom
ceph:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Oct 4, 2019

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

will add rados_{set,unset}_pool_full_try() in a follow-up change, which
reflect the change of b4ca5ae

Signed-off-by: Kefu Chai <kchai@redhat.com>
and s/osdmap_full_try/pool_full_try/

Signed-off-by: Kefu Chai <kchai@redhat.com>
b4ca5ae has dropped them since v13.0.1,
so we don't need to do this in v15 anymore even if user upgrades an
existing cluster from v13.

Signed-off-by: Kefu Chai <kchai@redhat.com>
this flag is not honored by client or cluster anymore

Signed-off-by: Kefu Chai <kchai@redhat.com>
per-pool full flag has taken the place of it since
b4ca5ae

Signed-off-by: Kefu Chai <kchai@redhat.com>
these flags has been deprecated since
b4ca5ae

Signed-off-by: Kefu Chai <kchai@redhat.com>
they will deprecate rados_unset_osdmap_full_try()

Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
and deprecate IoCtx::{set,unset}_osdmap_full_try()

the latter are deprecated and are aliases of the former.

Signed-off-by: Kefu Chai <kchai@redhat.com>
as set_osdmap_full_try() is deprecated now

Signed-off-by: Kefu Chai <kchai@redhat.com>
instead of using `std::pair<>` for presenting it. there are three
advantages:

1. better names for readability: `type` and `name` are better names
   than `first` and `second`
2. so we can specliaze its behavior by its type: define
   `operator<<` once, and use it everywhere. no need to worry
   about ADL to pickup the generic operator of `operator<< (..., pair<>)`
   anymore. so we can safely use `<< key`, and no need to
   use `<< key.first << '.' << key.second`. kill the printed form of
   `osd,1` once and for all, all of them are now "osd.1".
3. consolidate the print/parse in a single place

Fixes: https://tracker.ceph.com/issues/42079
Signed-off-by: Kefu Chai <kchai@redhat.com>
`ceph {set,unset} full` does not take effect since mimic, and monitor
does not support this command since Octopus. so let's document this
change.

Signed-off-by: Kefu Chai <kchai@redhat.com>
mgr: use a struct for DaemonKey

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: Kefu Chai <kchai@redhat.com>
librados,osd,mon: remove traces of CEPH_OSDMAP_FULL

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
@pull pull bot added the ⤵️ pull label Oct 4, 2019
@pull pull bot merged commit 86b9036 into usefulalgorithm:master Oct 4, 2019
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.

1 participant