Repository navigation
rgw/dedup: Tech preview of full dedup support which means duplicate objects will be removed - #64271
Conversation
|
jenkins test windows |
|
jenkins test docs |
|
jenkins test windows |
There was a problem hiding this comment.
why do we need this flag?
we already require the yes-i-really-mean-it flag.
also, AFAIK, tech preview is a downstream term. on main everything is a tech preview
There was a problem hiding this comment.
I want to have this PR backported to tentacle to allow customers to try full dedup on test setup
There was a problem hiding this comment.
i still dont see why we need another flag. especially that it is used a a downstream term ('tentacle" is a stable upstream version)
There was a problem hiding this comment.
how long does this tests takes in teuthology?
same question on test_dedup_large_scale()
There was a problem hiding this comment.
I need to check the output on teuthology, on my system it takes 5 min
There was a problem hiding this comment.
I checked the teuthology run -
Dry run tests (which is what we got without this PR) took 22 minutes
Most of the time was spent inside the last 2 tests (test_dedup_dry_large_scale_with_tenants and test_dedup_dry_large_scale) which took 15 minutes together.
The full dedup tests took 38 minutes (we need to read all the objects and calculate blake3 hash)
Out of the 38 minutes we spent 13 minutes inside test_dedup_inc_loop_with_tenants which runs 10 cycles of incremental dedup (so really it is running 10 tests internally).
Together the full dedup suite took a full hour.
|
jenkins test make check |
|
please update dedup docs: https://docs.ceph.com/en/latest/radosgw/s3_objects_dedup/ |
|
jenkins test make check |
|
jenkins test make check arm64 |
|
jenkins test make check arm64 |
1 similar comment
|
jenkins test make check arm64 |
@ivancich the dedup failures are due to a regression in the GC code (unrelated to dedup) - test are failing because they are testing for proper RADOS objects cleanup. Once the root cause is fixed the deup failures should disappear regarding the cls_refcount issues, i have no idea, @benhanokh ? |
I found a possible ref_count issue in my code (if dedup was executed after server-side-copy) and it was fixed in - #64730 which is waiting for GC issue to be solved before it can be tested |
|
@benhanokh can please you split the ref_count issue into its own PR or add it here? |
Dedup is disabled without this PR (64271) so the issue doesn't break anything. |
it seems like it broke the cls_ref_count unit tests? |
dedup code can not be activated without this PR. |
|
dedup code doesn't change ref_count cls. |
so, this mean that the above failure is unrelated to this PR? |
The PR enabled full dedup which means dedup-tests might lead to this issue. |
looks like see if they work or have any issue. this is testing only the cls part |
|
@ivancich when i run |
|
I approved the Anrao2 branch this was part of, but I don't want to overrule you if you have another test you want to check. |
Dedup code is limited by default to dry-run reporting estimated dedup-level in the system. This PR adds a full-dedup option which will remove duplicated objects and link copies.
To the run the full dedup code caller needs to add --yes-i-really-mean-it and flag:
"radosgw-admin dedup restart --yes-i-really-mean-it"
It is meant as a tech preview only and not for production systems
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition