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

fbsvcmgr action_repair rpr_list_limbo_trans does not show list of transactions in LIMBO state [CORE6141] #6390

Closed
firebird-automations opened this issue Sep 12, 2019 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @pavel-zotov

Attachments:
db-with-3-limbo-tx_-_made-in-firebird-2_5_9.7z

Ticket was created after discuss with Alex and Vlad.

Command :
fbsvcmgr localhost:service_mgr action_repair rpr_list_limbo_trans dbname <database_with_limbo_transactions>
-- does not show list of such transactions
Instead of this it issues:
Unknown tag (15) in info_svr_db_info block after isc_svc_query()

Example of such DB see in attached .7z (prepared in FB 2.5.9)

Commits: 5cc9880 b241d04

====== Test Details ======

NB-1. Output from gfix and fbsvcmgr differs, see pattern_for_limbo_in_gfix_output and pattern_for_limbo_in_fsvc_output:
Transaction <N> is in limbo
--vs--
Transaction in limbo: <N>

NB-2. Only 'gfix -list' produces output which final row is: "More limbo transactions than fit. Try again".
No such message in the output of fbsvcmgr, it just show some Tx ID (last that it can display).

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

Attachment: db-with-3-limbo-tx_-_made-in-firebird-2_5_9.7z [ 13382 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Code was absolutely wrong (because was written according to Borland docs).
BTW that shows how 'often' is needed this feature.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 3.0.5 [ 10885 ]

Fix Version: 4.0 Beta 2 [ 10888 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Done with caveats

Test Details: NB-1. Output from gfix and fbsvcmgr differs, see pattern_for_limbo_in_gfix_output and pattern_for_limbo_in_fsvc_output:
Transaction <N> is in limbo
--vs--
Transaction in limbo: <N>

NB-2. Only 'gfix -list' produces output which final row is: "More limbo transactions than fit. Try again".
No such message in the output of fbsvcmgr, it just show some Tx ID (last that it can display).

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

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

No branches or pull requests

2 participants