-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for sweep information in Trace API [CORE3656] #4006
Comments
Modified by: @hvladassignee: Vlad Khorsun [ hvlad ] |
Commented by: @hvlad Improvement is committed into v2.5.2, v3 will follow soon |
Commented by: @hvlad A documentation. 1. Trace configuration have new parameter (see fbtrace.conf)
2. Four new events related to sweep activity was introduced at the trace output: a) SWEEP_START - when sweep process is started 2012-06-26T14:17:28.1380 (3408:03828510) SWEEP_START Transactions counters: b) SWEEP_FINISH - when sweep finished successfully 2012-06-26T14:17:28.1540 (3408:03828510) SWEEP_FINISH Transactions counters: c) SWEEP_FAILED - when sweep process was failed (due to shutdown or on-disk error, etc) Note: failure reason is not printed, use log_errors parameter to obtain this info. d) SWEEP_PROGRESS - put after processing of every non-empty relation 2012-06-26T14:17:28.1540 (3408:03828510) SWEEP_PROGRESS Table Natural Index Update Insert Delete Backout Purge Expunge 2012-06-26T14:17:28.1540 (3408:03828510) SWEEP_PROGRESS Table Natural Index Update Insert Delete Backout Purge Expunge Note: some metadata related activity could be present at stats. Common notes: |
Commented by: Thomas Steinmaurer (tsteinmaurer) Very, very nice! Thanks for implementing this feature request! |
Modified by: @cincuranet |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pavel-zotovQA Status: No test |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] QA Status: No test => Covered by another test(s) |
Submitted by: Thomas Steinmaurer (tsteinmaurer)
Relate to DNET451
Votes: 1
Currently, the Trace API doesn't have any support for generating trace events when a sweep happens (starts/finishes). In the trace output, there should be a way to distinguish between a sweep, which has been triggered automatically (due to the sweep interval) and a sweep, which was invoked by the user manually.
Commits: b636315 8dc7b56 9124f5e 0b46626 53fc571 4f9a670
====== Test Details ======
See tests for CORE4337 and CORE3934
The text was updated successfully, but these errors were encountered: