Update the standard qa suite cluster configs so that we continue
asserting in our nightlies, but users don't hit this.
Fixes: http://tracker.ceph.com/issues/21737
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit
165b61a7df2731602e9e28c5107a873444bf0507)
Conflicts:
src/common/options.cc - file does not exist in jewel; manually
backported the change to src/common/config_opts.h
src/common/shared_cache.hpp - use jewel programming convention
for accessing config option values
OPTION(internal_safe_to_start_threads, OPT_BOOL, false)
OPTION(debug_deliberately_leak_memory, OPT_BOOL, false)
+OPTION(debug_asserts_on_shutdown, OPT_BOOL, false)
OPTION(rgw_swift_custom_header, OPT_STR, "") // option to enable swift custom headers
lderr(cct) << "leaked refs:\n";
dump_weak_refs(*_dout);
*_dout << dendl;
- assert(weak_refs.empty());
+ if (cct->_conf->debug_asserts_on_shutdown) {
+ assert(weak_refs.empty());
+ }
}
}