Skip to content
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

Write note into log when automatic sweep is started [CORE2668] #3072

Closed
firebird-issue-importer opened this issue Oct 6, 2009 · 12 comments
Closed

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Oct 6, 2009

Submitted by: @aafemt

Relate to CORE3978

Votes: 9

It would be nice to have in log a record about automatic sweep start. This way DBA can notice problems (or no problems) with transaction management. Currently newbies blame sweep in all slowdowns and unnecessary tune autosweep interval.

Commits: 9124f5e 05dc7aa

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 6, 2009

Commented by: Sean Leyne (seanleyne)

Nice request! I would suggest one change.

Log all sweep starts, not just those triggered by the sweep interval, but also those triggered via GFIX.

It is possible for an admin to not know about a sweep which has been scheduled by another admin, or they could have forgotten themselves.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 7, 2009

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 7, 2009

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Open [ 1 ]

Target: 3.0.0 [ 10048 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 1, 2010

Commented by: Christian Masberg (cubism)

Very usefull!
Otherwise I don't know of a way of identifying the sweep interval, because it is not written into the server log.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 1, 2010

Commented by: Sean Leyne (seanleyne)

One additional item, also log when the sweep ends/stops.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 27, 2012

Modified by: @dyemanov

assignee: Alexander Peshkov [ alexpeshkoff ] => Vlad Khorsun [ hvlad ]

Fix Version: 2.5.2 [ 10450 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 28, 2012

Commented by: @hvlad

firebird log will contain following records about sweep :

a) when sweep started :

 Sweep is started by <user name\>
 Database <database name\> 
 OIT <n\>, OAT <n\>, OST <n\>, Next <n\>

b) when sweep finished successfully (no errors was thrown) :

 Sweep is finished
 Database <database name\> 
 OIT <n\>, OAT <n\>, OST <n\>, Next <n\>

c) when some exception breaks the sweep execution :
Error during sweep:
<error details>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Aug 2, 2012

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 12, 2012

Modified by: @dyemanov

Link: This issue relate to CORE3978 [ CORE3978 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 23, 2013

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 18, 2016

Modified by: @pavel-zotov

QA Status: No test

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 31, 2016

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Done successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants