[Bug 6140] New: Set a timeout to z3950 servers that could have network problems occasionally
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 Bug #: 6140 Summary: Set a timeout to z3950 servers that could have network problems occasionally Classification: Unclassified Change sponsored?: --- Product: Koha Version: rel_3_4 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: Z39.50 / SRU / OpenSearch Servers AssignedTo: gmcharlt@gmail.com ReportedBy: juan.sieira@xercode.es QAContact: koha-bugs@lists.koha-community.org Created attachment 3832 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3832 pro Set a timeout to z3950 servers that could have network problems occasionally Some of z3950 servers that our libraries must use, have network problems occasionally and when they are cataloguing and do a search over a z3950 server, if any of those Z selected have net problems, this search could have a delay of lot of time. If you dont want to execute updatedatabase.pl, simply execute this statement in you database ALTER TABLE `z3950servers` ADD `timeout` INT( 11 ) NOT NULL DEFAULT '0' AFTER `syntax`; -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff CC| |jcamins@cpbibliography.com -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 Juan Romay Sieira <juan.sieira@xercode.es> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|rel_3_4 |master -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 Juan Romay Sieira <juan.sieira@xercode.es> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #3832|0 |1 is obsolete| | --- Comment #1 from Juan Romay Sieira <juan.sieira@xercode.es> 2012-02-13 10:47:36 UTC --- Created attachment 7615 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7615 Patch to apply in current master -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #2 from Owen Leonard <oleonard@myacpl.org> 2012-02-22 17:03:59 UTC --- Is the timeout setting in seconds? I would suggest adding that information to the Z39.50 server entry form. I recommend this: Timeout (Enter 0 for no timeout): [ ] seconds I would also like to see a message displayed on the search results screen about which servers were skipped because of a timeout. There's already error output for "actual" timeouts, so it's logical to include these "voluntary" timeouts too. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 Juan Romay Sieira <juan.sieira@xercode.es> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7615|0 |1 is obsolete| | Status|Failed QA |Needs Signoff Assignee|gmcharlt@gmail.com |juan.sieira@xercode.es --- Comment #3 from Juan Romay Sieira <juan.sieira@xercode.es> --- Created attachment 8414 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8414&action=edit Patch to apply in current master I've done some changes that Owen commented. Information in seconds when edit a z3950 server and inform if a server has timeout or connection failed errors. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 --- Comment #4 from laurenthdl <henridamien.laurent@biblibre.com> --- Created attachment 8453 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8453&action=edit patch signed off -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 laurenthdl <henridamien.laurent@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |henridamien.laurent@biblibr | |e.com -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8414|0 |1 is obsolete| | -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 --- Comment #5 from Paul Poulain <paul.poulain@biblibre.com> --- QA comment: * code very clean * add an interesting fallback in case of timeout * could not test a timeout case, but everything still works if the z3950 server is responsive enough. * the "timeout" error message is displayed in case of timeout (at least reading the code) passed QA -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |paul.poulain@biblibre.com Version|master |rel_3_8 -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6140 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org