mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
00249dc0cc
Add a new column, OBJECTS_TRIMMED, to the pg dump stats that shows the number of objects trimmed when a snap is removed. When a pg splits, the stats from the parent pg is copied to the child pg. In such a case, reset objects_trimmed to 0 for the child pg (see PeeringState::split_into()). Otherwise, this will result in incorrect stats to be shown for a child pg after the split operation. Tests: - Librados C and C++ API tests to verify the number of objects trimmed during snaptrim operation. These tests use the self-managed snaps APIs. - Standalone tests to verify objects trimmed using rados pool snaps. Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com> |
||
---|---|---|
.. | ||
c2c | ||
crush | ||
erasure-code | ||
mgr | ||
misc | ||
mon | ||
osd | ||
osd-backfill | ||
scrub | ||
special | ||
ceph-helpers.sh | ||
README |
qa/standalone ============= These scripts run standalone clusters, but not in a normal way. They make use of functions ceph-helpers.sh to quickly start/stop daemons against toy clusters in a single directory. They are normally run via teuthology based on qa/suites/rados/standalone/*.yaml. You can run them in a git checkout + build directory as well: * The qa/run-standalone.sh will run all of them in sequence. This is slow since there is no parallelism. * You can run individual script(s) by specifying the basename or path below qa/standalone as arguments to qa/run-standalone.sh. ../qa/run-standalone.sh misc.sh osd/osd-dup.sh * Add support for specifying arguments to selected tests by simply adding list of tests to each argument. ../qa/run-standalone.sh "test-ceph-helpers.sh test_get_last_scrub_stamp"