Repository navigation
crimson/os/seastore: Add progress logging to transaction processing - #67024
Conversation
c86b5e0 to
d671c77
Compare
| @@ -5,6 +5,7 @@ overrides: | |||
| - objects unfound and apparently lost | |||
| conf: | |||
| osd: | |||
| osd target transaction size: 5 | |||
There was a problem hiding this comment.
Can you please link the tracker as a comment above this line?
There was a problem hiding this comment.
nit:
...
To fix this, we are reducing osd_target_transaction_size to 5 to lower
conflict rates and allow deletion transactions to complete.
Note: This is a temporary workaround until the conflict transaction
mechanism is restructured
There was a problem hiding this comment.
Might be even worth to open a followup tracker to remove the txn size limitation once its not relevant anymore.
There was a problem hiding this comment.
| for (auto &obj : objs_to_rm) { | ||
| if (obj == pgmeta_oid || obj.is_internal_pg_local()) { | ||
| continue; | ||
| } | ||
| logger().trace("pg {}, removing obj {}", pgid, obj); |
There was a problem hiding this comment.
Can we keep the per-object trace log? Could be useful to debug specific object issues.
| @@ -500,17 +501,17 @@ PG::do_delete_work(ceph::os::Transaction &t, ghobject_t _next) | |||
| }); | |||
| return {next, false}; | |||
| } else { | |||
| DEBUGDPP("pg {}, removing {} objects", *this, pgid, objs_to_rm.size()); | |||
There was a problem hiding this comment.
nit, Could be slightly confusing. How about:
DEBUGDPP("pg {}, removing {} objects in this batch", *this, pgid, objs_to_rm.size());
Or even more informative:
DEBUGDPP("pg {}, removing {} objects out of {}", *this, pgid, objs_to_rm.size(), delta_stats.num_objects);`
| DEBUGT("processing op {} of {} for cid={}", | ||
| t, current_op, total_ops, ctx.ch->get_cid()); |
d671c77 to
9252b1b
Compare
|
jenkins test windows |
Matan-B
left a comment
There was a problem hiding this comment.
@amathuria, seems #66488 is merged and might help to avoid opening https://tracker.ceph.com/issues/73791 follow up.
Perhaps we can avoid the txn decrease now and keep the other commits, WDYT?
That's great! Yeah sure if we can avoid the txn decrease now I'll drop that commit. |
In case the issue persists in main we could re-introduce the decrease |
Signed-off-by: Aishwarya Mathuria <[email protected]>
Log "op X of Y" during the transaction iteration in do_transaction_no_callbacks to improve observability during transactions. Signed-off-by: Aishwarya Mathuria <[email protected]>
9252b1b to
496d8da
Compare
|
jenkins test make check |
|
jenkins retest this please |
|
This is an automated message by src/script/redmine-upkeep.py. I have resolved the following tracker ticket due to the merge of this PR: No backports are pending for the ticket. If this is incorrect, please update the tracker |
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 DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.