-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
hammer: osd: use GMT time for the object name of hitsets #7883
Conversation
will add a workaround to address the crc error, instead of disabling the upgrade tests of osd->mon |
2c2f3e8
to
87c9e12
Compare
changelog
|
great ! it will be in the next integration branch :-) |
that would be great! thanks. |
* bump the encoding version of pg_hit_set_info_t to 2, so we can tell if the corresponding hit_set is named using localtime or GMT * bump the encoding version of pg_pool_t to 20, so we can know if a pool is using GMT to name the hit_set archive or not. and we can tell if current cluster allows OSDs not support GMT mode or not. * add an option named `osd_pool_use_gmt_hitset`. if enabled, the cluster will try to use GMT mode when creating a new pool if all the the up OSDs support GMT mode. if any of the pools in the cluster is using GMT mode, then only OSDs supporting GMT mode are allowed to join the cluster. Fixes: ceph#9732 Signed-off-by: Kefu Chai <kchai@redhat.com> (cherry picked from commit 42f8c5d) Conflicts: src/include/ceph_features.h src/osd/ReplicatedPG.cc src/osd/osd_types.cc src/osd/osd_types.h fill pg_pool_t with default settings in master branch.
Signed-off-by: Kefu Chai <kchai@redhat.com> (cherry picked from commit cc2bcf7) Conflicts: src/mon/OSDMonitor.cc use the old way to dump pool info
Signed-off-by: David Zafman <dzafman@redhat.com> (cherry picked from commit 2bc5a48) Conflicts: src/osd/osd_types.cc minor changes to resolve conflicts
* to ease the backport to hammer Signed-off-by: Kefu Chai <kchai@redhat.com> (cherry picked from commit 5a4f6a8) Conflicts: src/include/ceph_features.h minor changes to resolve conflicts
the gmt_hitset is enabled by default in the ctor of pg_pool_t, this is intentional. because we want to remove this setting and make gmt_hitset=true as a default in future. but this forces us to disable it explicitly when preparing a new pool if any OSD does not support gmt hitset. Fixes: ceph#12968 Signed-off-by: Kefu Chai <kchai@redhat.com> (cherry picked from commit e48cec3) Conflicts: src/mon/OSDMonitor.cc remove unrelated hunk
as a workaround of ceph#12410 Fixes: ceph#12968 Signed-off-by: Kefu Chai <kchai@redhat.com>
87c9e12
to
f8d2abd
Compare
changelog
--- a/ceph-object-corpus
+++ b/ceph-object-corpus
@@ -1 +1 @@
-Subproject commit 47fbf8c6ae1fb4fca171ac86e98821a67fd32031
+Subproject commit ef8a3bd8f5d358bdb40a8d61abd25b24b033ed5b |
Ah, thanks for catching that. The integration tests are stalled (test infrastructure problems), no harm done :-) |
…me of hitsets Reviewed-by: Loic Dachary <ldachary@redhat.com>
It passed the hammer upgrade suite ( http://tracker.ceph.com/issues/14692#note-52 ) and the rados suite http://tracker.ceph.com/issues/14692#note-51). |
http://tracker.ceph.com/issues/13288