]> git.evergreen-ils.org Git - OpenSRF.git/blob - ChangeLog
update ChangeLog for 2.3.0-rc
[OpenSRF.git] / ChangeLog
1 ChangeLog
2 =========
3
4 OpenSRF 2.3.0-rc
5 ----------------
6
7 commit a67bae66dd6a5e4062d63a00773c8e4c3bf4f880
8 Author: Galen Charlton <gmcharlt@gmail.com>
9 Date:   Fri Mar 21 13:57:04 2014 -0400
10
11     bump up version number for 2.3.0 RC
12     
13     Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14
15 2       2       src/perl/lib/OpenSRF.pm
16 1       1       src/python/setup.py
17 1       1       version.m4
18
19 commit dae3c9a9134d71b6acb1c4905379780694dc2635
20 Author: Galen Charlton <gmc@esilibrary.com>
21 Date:   Fri Mar 7 10:39:08 2014 -0800
22
23     cite the most relevant bug numbers for enhancements in the release notes
24     
25     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
26
27 8       8       doc/RELEASE_NOTES.txt
28
29 commit 9b6127b2a08892036699616d3fa8889f8933f545
30 Author: Galen Charlton <gmc@esilibrary.com>
31 Date:   Fri Mar 7 10:33:16 2014 -0800
32
33     mention opensrf_router managing its own PID file in release notes
34     
35     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
36
37 5       3       doc/RELEASE_NOTES.txt
38
39 commit 328c7408e2836733f8fc72faef6fc9dbb9f20523
40 Author: Galen Charlton <gmc@esilibrary.com>
41 Date:   Fri Mar 7 10:25:14 2014 -0800
42
43     fix typos in the release notes
44     
45     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
46
47 3       3       doc/RELEASE_NOTES.txt
48
49 commit fb561efb67a641bd3cf7767b31dcf70a7a0ae824
50 Author: Galen Charlton <gmc@esilibrary.com>
51 Date:   Fri Mar 7 10:16:33 2014 -0800
52
53     update release notes for 2.3.0-rc
54     
55     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
56
57 16      2       doc/RELEASE_NOTES.txt
58
59 commit 824452bd95815ed8713761fbe770d2a0d2161087
60 Author: Galen Charlton <gmc@esilibrary.com>
61 Date:   Fri Mar 7 08:22:38 2014 -0800
62
63     LP#1286198: use --ignore-orphans rather than --are-there-no-prisons
64     
65     The joke was fine while it lasted, but might be confusing to somebody
66     who doesn't catch the literary reference.  This patch also fixes
67     a minor typo.
68     
69     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
70
71 3       3       bin/opensrf-perl.pl.in
72
73 commit 410fb2d443826611b3f26e07e945f39ad374a98d
74 Author: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
75 Date:   Tue Feb 4 17:56:07 2014 -0500
76
77     LP#1286198: Teach osrf_router to (optionally) write its own PID files
78     
79     Also, tiny bit of noise squelching on osrf_control/opensrf-perl.pl
80     
81     Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
82     Signed-off-by: Mike Rylander <mrylander@gmail.com>
83     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
84
85 6       13      bin/opensrf-perl.pl.in
86 1       0       include/opensrf/utils.h
87 19      1       src/libopensrf/utils.c
88 84      5       src/router/osrf_router_main.c
89
90 commit 848e22fd7fe1478b86c4b64eb1e2a36cb8cbe115
91 Author: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
92 Date:   Fri Jan 31 15:50:01 2014 -0500
93
94     LP#1286198: Offer ability to ignore what seem like orphan processes when starting things
95     
96     Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
97     Signed-off-by: Mike Rylander <mrylander@gmail.com>
98     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
99
100 10      3       bin/opensrf-perl.pl.in
101
102 commit b7dda84946771959e2a44af977a007a3bf7923c9
103 Author: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
104 Date:   Thu Jan 30 18:32:24 2014 -0500
105
106     LP#1286198: When doing router-specific things, we don't need as much configuration loaded
107     
108     Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
109     Signed-off-by: Mike Rylander <mrylander@gmail.com>
110     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
111
112 3       3       bin/opensrf-perl.pl.in
113
114 commit d9ac17b0f18e7274468a426836b9c7f5dcfd2e72
115 Author: Galen Charlton <gmc@esilibrary.com>
116 Date:   Thu Feb 27 17:34:50 2014 -0800
117
118     fix typo in 2.3.0-beta changelog
119     
120     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
121
122 2       2       ChangeLog
123
124 commit 8bf1f95aee67cd88e1ac0d6dca5380952ad404a9
125 Author: Galen Charlton <gmc@esilibrary.com>
126 Date:   Thu Feb 27 16:53:26 2014 -0800
127
128     change log for 2.3.0-beta
129     
130     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
131
132 597     1007    ChangeLog
133
134 commit d6688eade4a5947efd5280768fc549942a22e451
135 Author: Galen Charlton <gmc@esilibrary.com>
136 Date:   Thu Feb 27 16:52:15 2014 -0800
137
138     bump up version numbers of OpenSRF 2.3.0-beta
139     
140     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
141
142 2       2       src/perl/lib/OpenSRF.pm
143 1       1       src/python/setup.py
144 1       1       version.m4
145
146 commit e4453fbb43032f1154e1aa6dfdaf6183682026d9
147 Author: Galen Charlton <gmc@esilibrary.com>
148 Date:   Thu Feb 27 16:46:46 2014 -0800
149
150     release notes for OpenSRF 2.3.0 beta
151     
152     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
153
154 90      0       doc/RELEASE_NOTES.txt
155  create mode 100644 doc/RELEASE_NOTES.txt
156
157 commit 3692bb33cccdf3106df96883033b20ab9170c5a5
158 Author: Bill Erickson <berick@esilibrary.com>
159 Date:   Mon Feb 24 09:09:46 2014 -0500
160
161     LP#1284137: Avoid WARN logging on router shutdown
162     
163     Log received signals as DEBUG (misc signal) or INFO (during shutdown)
164     in the router, since these are not error conditions, but normal
165     operations.
166     
167     A warning may ultimately be logged at a higher level when the signal is
168     unexpected.
169     
170     Signed-off-by: Bill Erickson <berick@esilibrary.com>
171     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
172
173 1       1       src/router/osrf_router.c
174 2       2       src/router/osrf_router_main.c
175
176 commit 02a93da43f4fcebf7b00e5893ecd3e855dc2dbba
177 Author: Galen Charlton <gmc@esilibrary.com>
178 Date:   Fri Mar 15 10:22:17 2013 -0400
179
180     LP#1155446: add Debian/Ubuntu deps required for Python tests to pass
181     
182     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
183     Signed-off-by: Ben Shum <bshum@biblio.org>
184
185 5       0       src/extras/Makefile.install
186
187 commit 2fae35660282044e8462cde5b8152ff3d24f77e3
188 Author: Bill Erickson <berick@esilibrary.com>
189 Date:   Fri Oct 12 16:57:15 2012 -0400
190
191     LP#1066131: srfsh.py should not require opensrf.settings
192     
193     Update srfsh.py to connect to the opensrf network without automatically
194     reading the opensrf.setting server data.  This allows srfsh.py to run a
195     non-private network.
196     
197     Signed-off-by: Bill Erickson <berick@esilibrary.com>
198     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
199
200 1       1       src/python/srfsh.py
201
202 commit 989ac2737759a0fc6a80ec08b1a68b35eab2ff60
203 Author: Galen Charlton <gmc@esilibrary.com>
204 Date:   Thu Apr 18 16:14:00 2013 -0400
205
206     LP#1170484: log failure to load library for C app as an error
207     
208     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
209     Signed-off-by: Ben Shum <bshum@biblio.org>
210
211 1       1       src/libopensrf/osrf_application.c
212
213 commit 9a01063b3c78a33707a414a36d397e061ca62b1d
214 Merge: d90a415 2cc896b
215 Author: Galen Charlton <gmc@esilibrary.com>
216 Date:   Fri Jan 31 16:40:58 2014 -0500
217
218     Merge branch 'rel_2_3'
219
220 commit 2cc896b7d103fbade96054881c6c57046eef01e5
221 Author: Galen Charlton <gmc@esilibrary.com>
222 Date:   Fri Jan 31 16:20:26 2014 -0500
223
224     fix typo and remove repeated word
225     
226     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
227
228 3       3       bin/opensrf-perl.pl.in
229
230 commit a98d4b5195a0f5e77d14d4d247dde47f71b573c2
231 Author: Bill Erickson <berick@esilibrary.com>
232 Date:   Tue Jan 7 14:06:06 2014 -0500
233
234     osrf_control router-de/re-register and reload commands
235     
236     Added support for the following new command line options:
237     
238     --router-de-register
239     --router-de-register-all
240         Sends a SIGUSR1 signal to the selected service(s), which causes each
241         service's listener process to send an "unregister" command to all
242         registered routers.  The --all variant sends the signal to all
243         running listeners.  The non-(--all) variant requires a --service.
244     
245     --router-re-register
246     --router-re-register-all
247         Sends a SIGUSR2 signal to the selected service(s), which causes each
248         service's listener process to send a "register" command to all
249         configured routers routers.  The --all variant sends the signal to
250         all running listeners.  The non-(--all) variant requires a --service.
251     
252     --reload
253     --reload-all
254         Sends a SIGHUP signal to the selected service(s).  SIGHUP causes
255         each Listener process to reload its opensrf_core.xml config file
256         and gracefully re-launch drone processes.  The -all variant sends
257         the signal to all services.  The non-(-all) variant requires a
258         --service.
259     
260     Signed-off-by: Bill Erickson <berick@esilibrary.com>
261     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
262
263 46      3       bin/opensrf-perl.pl.in
264
265 commit d90a415f0c98a62560d9f824da4b18b6ee9eba84
266 Author: Galen Charlton <gmc@esilibrary.com>
267 Date:   Fri Jan 31 16:25:16 2014 -0500
268
269     x
270     
271     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
272
273 2       2       bin/opensrf-perl.pl.in
274
275 commit 0c0b02e0e8252d5a3e63dea03f8b8d8519526d5a
276 Author: Galen Charlton <gmc@esilibrary.com>
277 Date:   Fri Jan 31 16:20:26 2014 -0500
278
279     typo fix
280     
281     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
282
283 1       1       bin/opensrf-perl.pl.in
284
285 commit 5b3f8046bf05191424425cbe6bad5342ccb9ebbf
286 Author: Bill Erickson <berick@esilibrary.com>
287 Date:   Tue Jan 7 14:06:06 2014 -0500
288
289     osrf_control router-de/re-register and reload commands
290     
291     Added support for the following new command line options:
292     
293     --router-de-register
294     --router-de-register-all
295         Sends a SIGUSR1 signal to the selected service(s), which causes each
296         service's listener process to send an "unregister" command to all
297         registered routers.  The --all variant sends the signal to all
298         running listeners.  The non-(--all) variant requires a --service.
299     
300     --router-re-register
301     --router-re-register-all
302         Sends a SIGUSR2 signal to the selected service(s), which causes each
303         service's listener process to send a "register" command to all
304         configured routers routers.  The --all variant sends the signal to
305         all running listeners.  The non-(--all) variant requires a --service.
306     
307     --reload
308     --reload-all
309         Sends a SIGHUP signal to the selected service(s).  SIGHUP causes
310         each Listener process to reload its opensrf_core.xml config file
311         and gracefully re-launch drone processes.  The -all variant sends
312         the signal to all services.  The non-(-all) variant requires a
313         --service.
314     
315     Signed-off-by: Bill Erickson <berick@esilibrary.com>
316     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
317
318 46      3       bin/opensrf-perl.pl.in
319
320 commit 14287dc536142b14bc67806b1417b9a4850fa8cc
321 Author: Bill Erickson <berick@esilibrary.com>
322 Date:   Thu Nov 21 16:37:38 2013 -0500
323
324     recover osrf_control router start
325     
326     With the addition of service verification, which ensures that a service
327     is meant to run on the requested host, we lost the ability to start the
328     router by itself, since the router is never explicitly configured to run
329     anywhere.  This patch assumes the router is always a valid service.
330     
331     Signed-off-by: Bill Erickson <berick@esilibrary.com>
332     Signed-off-by: Dan Wells <dbw2@calvin.edu>
333
334 1       0       bin/opensrf-perl.pl.in
335
336 commit b59aee460f2b84f94ecabb758051cf00209574e6
337 Author: Bill Erickson <berick@esilibrary.com>
338 Date:   Thu Nov 21 16:37:38 2013 -0500
339
340     recover osrf_control router start
341     
342     With the addition of service verification, which ensures that a service
343     is meant to run on the requested host, we lost the ability to start the
344     router by itself, since the router is never explicitly configured to run
345     anywhere.  This patch assumes the router is always a valid service.
346     
347     Signed-off-by: Bill Erickson <berick@esilibrary.com>
348     Signed-off-by: Dan Wells <dbw2@calvin.edu>
349
350 1       0       bin/opensrf-perl.pl.in
351
352 commit c5ca743810acded29b0dcf9866ea513d5fcffdb9
353 Author: Bill Erickson <berick@esilibrary.com>
354 Date:   Thu Dec 5 12:27:44 2013 -0500
355
356     OpenSRF client disconnect robustification (Perl)
357     
358     * Improve detection of client connection state with jabber server
359     
360       Be more aggressive in testing and responding to failed connectivity.
361       It can happen in various ways, depending on what's happening to the
362       jabber server (death, delay, graceful shutdown).  With these changes
363       we attempt to cover all the bases and detect as early as possible that
364       a connection has died, specifically when trying to create a new
365       connection after one has failed.
366     
367     * Do a better job of cleaning up dead connections
368     
369       Transport::PeerHandle now has a reset() action which disconnects (when
370       possible) and clears the global connection reference.
371     
372     Signed-off-by: Bill Erickson <berick@esilibrary.com>
373     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
374
375 8       2       src/perl/lib/OpenSRF/System.pm
376 6       0       src/perl/lib/OpenSRF/Transport/SlimJabber/Client.pm
377 6       0       src/perl/lib/OpenSRF/Transport/SlimJabber/PeerConnection.pm
378 1       0       src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPReader.pm
379
380 commit b0a41d3973c944259c193fb4da1dce7f0c690f70
381 Author: Bill Erickson <berick@esilibrary.com>
382 Date:   Thu Dec 5 12:27:44 2013 -0500
383
384     OpenSRF client disconnect robustification (Perl)
385     
386     * Improve detection of client connection state with jabber server
387     
388       Be more aggressive in testing and responding to failed connectivity.
389       It can happen in various ways, depending on what's happening to the
390       jabber server (death, delay, graceful shutdown).  With these changes
391       we attempt to cover all the bases and detect as early as possible that
392       a connection has died, specifically when trying to create a new
393       connection after one has failed.
394     
395     * Do a better job of cleaning up dead connections
396     
397       Transport::PeerHandle now has a reset() action which disconnects (when
398       possible) and clears the global connection reference.
399     
400     Signed-off-by: Bill Erickson <berick@esilibrary.com>
401     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
402
403 8       2       src/perl/lib/OpenSRF/System.pm
404 6       0       src/perl/lib/OpenSRF/Transport/SlimJabber/Client.pm
405 6       0       src/perl/lib/OpenSRF/Transport/SlimJabber/PeerConnection.pm
406 1       0       src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPReader.pm
407
408 commit af8cab4b4b77f668e3c5ac85d191acf94537ef32
409 Author: Mike Rylander <mrylander@gmail.com>
410 Date:   Thu May 16 10:17:15 2013 -0400
411
412     Protect subrequests from post-complete messages
413     
414     Subrequests (AKA method_lookup()-based API calls) sometimes append
415     final-lvalue responses to the response list even after respond_complete()
416     has been called from within the implementation method.  This commit
417     discards all post-respond_complete values, protecting against extra,
418     spurious values being returned to the ultimate client.
419     
420     Signed-off-by: Mike Rylander <mrylander@gmail.com>
421     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
422
423 16      2       src/perl/lib/OpenSRF/AppSession.pm
424
425 commit 8d9b6b60cec68910ab48e4477e5de2d451013dc5
426 Author: Galen Charlton <gmc@esilibrary.com>
427 Date:   Mon Dec 16 08:08:51 2013 -0800
428
429     LP#1180849: test case - ignoring subrequest responses after respond_complete()
430     
431     This patch adds a regression test for verifying that subrequests
432     ignore additional responses after respond_complete() is called.
433     
434     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
435
436 9       1       src/perl/t/02-AppSession.t
437
438 commit a0d5b0536231cc06552fb9d7533a713c314ef9d3
439 Author: Mike Rylander <mrylander@gmail.com>
440 Date:   Thu May 16 10:17:15 2013 -0400
441
442     Protect subrequests from post-complete messages
443     
444     Subrequests (AKA method_lookup()-based API calls) sometimes append
445     final-lvalue responses to the response list even after respond_complete()
446     has been called from within the implementation method.  This commit
447     discards all post-respond_complete values, protecting against extra,
448     spurious values being returned to the ultimate client.
449     
450     Signed-off-by: Mike Rylander <mrylander@gmail.com>
451     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
452
453 16      2       src/perl/lib/OpenSRF/AppSession.pm
454
455 commit 59b4dd74e8695bc9bd7ad6c379b0f313db1cbb61
456 Author: Galen Charlton <gmc@esilibrary.com>
457 Date:   Mon Dec 16 08:08:51 2013 -0800
458
459     LP#1180849: test case - ignoring subrequest responses after respond_complete()
460     
461     This patch adds a regression test for verifying that subrequests
462     ignore additional responses after respond_complete() is called.
463     
464     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
465
466 9       1       src/perl/t/02-AppSession.t
467
468 commit 4ec8e134da80422f288e3e84024a8aa137b22259
469 Author: Jeff Godin <jgodin@tadl.org>
470 Date:   Tue Dec 3 13:52:39 2013 -0500
471
472     Add some additional boolean-related JSON tests
473     
474     Add some additional boolean-related JSON tests, enable use strict /
475     use warnings for JSON tests.
476     
477     Signed-off-by: Jeff Godin <jgodin@tadl.org>
478     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
479
480 12      5       src/perl/t/09-Utils-JSON.t
481
482 commit 9a367d3621706693445b945b283d54281d6dfa0a
483 Author: Mike Rylander <mrylander@gmail.com>
484 Date:   Tue Dec 3 09:57:39 2013 -0500
485
486     LP#1257264: Use the built-in JSON-y test for bools
487     
488     This removes a dependency on internal details of JSON::XS's
489     implementation of Boolean types which changed with the release
490     of JSON::XS 3.0.
491     
492     Signed-off-by: Mike Rylander <mrylander@gmail.com>
493     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
494     Signed-off-by: Jeff Godin <jgodin@tadl.org>
495
496 3       4       src/perl/lib/OpenSRF/Utils/JSON.pm
497
498 commit db87a311765e1c9bd538504827349a797a9b1bc4
499 Author: Galen Charlton <gmc@esilibrary.com>
500 Date:   Tue Dec 3 09:43:54 2013 -0800
501
502     LP#1257264: make test cases for JSON::XS Boolean-ness more generic
503     
504     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
505     Signed-off-by: Jeff Godin <jgodin@tadl.org>
506
507 5       5       src/perl/t/09-Utils-JSON.t
508
509 commit b93e0ca9c88e76d8a6a3c2451cbb49756c6ecf68
510 Author: Jeff Godin <jgodin@tadl.org>
511 Date:   Tue Dec 3 13:52:39 2013 -0500
512
513     Add some additional boolean-related JSON tests
514     
515     Add some additional boolean-related JSON tests, enable use strict /
516     use warnings for JSON tests.
517     
518     Signed-off-by: Jeff Godin <jgodin@tadl.org>
519     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
520
521 12      5       src/perl/t/09-Utils-JSON.t
522
523 commit a5be2f1654ea2211abef57f6065d8f6c5ee7f58a
524 Author: Mike Rylander <mrylander@gmail.com>
525 Date:   Tue Dec 3 09:57:39 2013 -0500
526
527     LP#1257264: Use the built-in JSON-y test for bools
528     
529     This removes a dependency on internal details of JSON::XS's
530     implementation of Boolean types which changed with the release
531     of JSON::XS 3.0.
532     
533     Signed-off-by: Mike Rylander <mrylander@gmail.com>
534     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
535     Signed-off-by: Jeff Godin <jgodin@tadl.org>
536
537 3       4       src/perl/lib/OpenSRF/Utils/JSON.pm
538
539 commit ff472c0e3c1dd47b5a584ebaf6a64d0534c5438b
540 Author: Galen Charlton <gmc@esilibrary.com>
541 Date:   Tue Dec 3 09:43:54 2013 -0800
542
543     LP#1257264: make test cases for JSON::XS Boolean-ness more generic
544     
545     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
546     Signed-off-by: Jeff Godin <jgodin@tadl.org>
547
548 5       5       src/perl/t/09-Utils-JSON.t
549
550 commit 9028b0238106923a64534b88eb6382bf59783ea5
551 Author: Galen Charlton <gmc@esilibrary.com>
552 Date:   Thu Sep 12 12:37:57 2013 -0700
553
554     LP#1224647: remove two invalid tests
555     
556     The patch for bug 1204123 changes the client_recv()
557     to not set the transport_client error flag, as most
558     of the circumstances where it would have been set were
559     for cases where the call to select() was interrupted
560     by a signal, which is not an error per se.
561     
562     This patch removes two tests that were therefore
563     made invalid, restoring the ability of the test suite
564     to pass.
565     
566     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
567     Signed-off-by: Bill Erickson <berick@esilibrary.com>
568
569 0       4       tests/check_transport_client.c
570
571 commit e203c6edd4e02437a56d98f24a7b8c52b142faee
572 Author: Bill Erickson <berick@esilibrary.com>
573 Date:   Thu Sep 5 10:32:09 2013 -0400
574
575     osrf_control --start/stop/restart-services
576     
577     Provide commands for controling non-router services.  This is useful in
578     a multi-server environment where the router runs on a different server.
579     
580     Signed-off-by: Bill Erickson <berick@esilibrary.com>
581     Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
582
583 44      7       bin/opensrf-perl.pl.in
584
585 commit 0ef66eea902b50efa360815114c11d40d14560d2
586 Author: Bill Erickson <berick@esilibrary.com>
587 Date:   Tue Sep 3 14:56:27 2013 -0400
588
589     LP#1204123 repair makefile.am warning
590     
591     Avoid trailing space after backslash
592     
593     Signed-off-by: Bill Erickson <berick@esilibrary.com>
594     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
595
596 1       1       src/Makefile.am
597
598 commit ca94866879192a2ea962ce12d15573aa83115cd8
599 Author: Bill Erickson <berick@esilibrary.com>
600 Date:   Fri Aug 30 14:17:02 2013 -0400
601
602     LP#1204123 osrf_control warn and exit on bad host
603     
604     Any time a start action is issued (start, start_all, restart,
605     restart_all), osrf_control will first verify that the selected hostname
606     (or localhost) hosts the requested service(s).  If not, the user is
607     warned and the script exits before any action is taken.
608     
609     Note: we do not make a similar verification for stop and signal actions,
610     since those may be reasonably be used even when a service is not
611     configured to run on the selected host.
612     
613     Thanks to Jason Stephenson for the suggestion.
614     
615     Signed-off-by: Bill Erickson <berick@esilibrary.com>
616     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
617
618 30      7       bin/opensrf-perl.pl.in
619
620 commit f7c7fd436ffdd85abef2f8c76c8e6f59755777ab
621 Author: Bill Erickson <berick@esilibrary.com>
622 Date:   Fri Aug 30 13:09:27 2013 -0400
623
624     LP#1204123 osrf_control --diagnostic improvements
625     
626     Assessing the state of each PID for each service for error conditions.
627     
628     Minor cleanup.
629     
630     Signed-off-by: Bill Erickson <berick@esilibrary.com>
631     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
632
633 28      41      bin/opensrf-perl.pl.in
634
635 commit e6cdba1fe3b3af91d91b13ea0ad4a4d8ceaa4b21
636 Author: Bill Erickson <berick@esilibrary.com>
637 Date:   Fri Aug 30 11:27:49 2013 -0400
638
639     LP#1204123 osrf_control --diagnostic
640     
641     Command prints information about running services, including
642     descrepencies between running vs configured and PS listing vs PID files.
643     
644     Signed-off-by: Bill Erickson <berick@esilibrary.com>
645     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
646
647 96      4       bin/opensrf-perl.pl.in
648
649 commit d1d2894e69ca2741b54b936737ac442b1774cd95
650 Author: Bill Erickson <berick@esilibrary.com>
651 Date:   Tue Aug 27 15:56:46 2013 -0400
652
653     LP1204123 osrf_ctl.sh improvement
654     
655     Removing no-longer-supported --verbose flag from osrf_ctl.sh stub
656     
657     Signed-off-by: Bill Erickson <berick@esilibrary.com>
658     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
659
660 1       2       bin/osrf_ctl.sh.in
661
662 commit 9c07e2ad85a3a569914070b59c3b185d1cc0f1cb
663 Author: Bill Erickson <berick@esilibrary.com>
664 Date:   Tue Aug 27 15:52:48 2013 -0400
665
666     LP1204123 osrf_control doc updates
667     
668     Signed-off-by: Bill Erickson <berick@esilibrary.com>
669     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
670
671 2       2       README
672 1       1       examples/opensrf.xml.example
673
674 commit 7fed81ab4a24236ef2db4bd0f1d6bd40c65e0b80
675 Author: Bill Erickson <berick@esilibrary.com>
676 Date:   Tue Aug 27 11:47:52 2013 -0400
677
678     C SIGHUP handling and config reloading
679     
680     Sending the HUP signal to a C Listener process now results in the
681     following:
682     
683      * Reload the opensrf_core config
684      * update the log file level
685      * kill idle child processes
686      * child processes that are active when the signal is received are
687        tracked and killed once they become idle.
688      * New children are spawned per the min child settings
689     
690     The primary use case for these changes is temporarily changing the log
691     level for a given service for debug purposes.  It may also
692     be used, for example, to gracefully recover excess RAM consumed by a
693     child process.
694     
695     opensrf.xml (opensrf.settings config) is not reloaded, so min/max child
696     settings will not be affected.
697     
698     Signed-off-by: Bill Erickson <berick@esilibrary.com>
699     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
700
701 2       0       include/opensrf/osrfConfig.h
702 6       0       src/libopensrf/osrfConfig.c
703 134     19      src/libopensrf/osrf_prefork.c
704
705 commit 76ceb9d1e4d662c7fa8c41434df940647bf32fef
706 Author: Bill Erickson <berick@esilibrary.com>
707 Date:   Fri Aug 16 10:07:10 2013 -0400
708
709     LP1204123 more osrf_ctl/control script cleanup
710     
711     Signed-off-by: Bill Erickson <berick@esilibrary.com>
712     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
713
714 1       1       bin/osrf_ctl.sh.in
715
716 commit 9f8d384361e88d786d70a350f6f154e93a592d7b
717 Author: Bill Erickson <berick@esilibrary.com>
718 Date:   Fri Aug 16 10:04:55 2013 -0400
719
720     LP1204123 more osrf_ctl/control script cleanup
721     
722     Signed-off-by: Bill Erickson <berick@esilibrary.com>
723     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
724
725 5       3       bin/opensrf-perl.pl.in
726 1       1       bin/osrf_ctl.sh.in
727
728 commit d849a24e417898d1a4dc2590af51f95f56b508ff
729 Author: Bill Erickson <berick@esilibrary.com>
730 Date:   Mon Aug 12 11:39:28 2013 -0400
731
732     LP1204123 osrf_control improved sample usage
733     
734     Use a more realistic default usage message.  --config and --pid-dir have
735     sane defaults, so people will not normally need to specify those.
736     
737     Signed-off-by: Bill Erickson <berick@esilibrary.com>
738     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
739
740 1       1       bin/opensrf-perl.pl.in
741
742 commit 7e274fb696485b43bba31315138fad866221b97b
743 Author: Bill Erickson <berick@esilibrary.com>
744 Date:   Mon Aug 12 11:33:11 2013 -0400
745
746     LP1204123 install opensrf-perl.pl as osrf_control
747     
748     Symlink osrf_control to opensrf-perl.pl to act as the replacement for
749     osrf_ctl.sh.  I chose "osrf_control" since it matches more closely to
750     "osrf_config" -- also it's probably less confusing than calling it
751     osrf_ctl, which would likely get confused w/ osrf_ctl.sh
752     
753     TODO: documentation
754     
755     Signed-off-by: Bill Erickson <berick@esilibrary.com>
756     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
757
758 3       0       src/Makefile.am
759
760 commit 79522df516441ea34fa615bd1e83e8bc4ee93d66
761 Author: Bill Erickson <berick@esilibrary.com>
762 Date:   Mon Aug 12 11:31:56 2013 -0400
763
764     LP1204123 opensrf-perl.pl improve logging
765     
766     Log messages by default.  Replace --verbose flag with --quiet flag.
767     
768     Also treat all messages the same, instead of separating them into info
769     and debug.  They're all pretty useful.
770     
771     Signed-off-by: Bill Erickson <berick@esilibrary.com>
772     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
773
774 35      21      bin/opensrf-perl.pl.in
775
776 commit 5f21d07c7d5c61c3cb6c7ecd891fe79e68a06aae
777 Author: Bill Erickson <berick@esilibrary.com>
778 Date:   Fri Aug 9 10:40:29 2013 -0400
779
780     LP1204123 opensrf-perl.pl expansion continued
781     
782     * improved cleanup of stale pid files during startup
783     * added --force-clean-process option to kill orphan (no pidfile)
784       processes during startup
785     * other minor cleanup
786     
787     Signed-off-by: Bill Erickson <berick@esilibrary.com>
788     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
789
790 78      38      bin/opensrf-perl.pl.in
791 3       7       bin/osrf_ctl.sh.in
792
793 commit 69b139d87447e9ddc546b5a772e9fa1725e23e6c
794 Author: Bill Erickson <berick@esilibrary.com>
795 Date:   Mon Aug 5 16:58:26 2013 -0400
796
797     LP1204123 opensrf-perl.pl expansion / replace osrf_ctl
798     
799     opensrf-perl.pl can now stop/start/signal/etc. all opensrf services,
800     regardless of language.  It is in effect a replacement for osrf_ctl.sh
801     with considerably broader powers.
802     
803     To ease transition, osrf_ctl.sh has been taught to pass
804     start/stop/restart_all commands through to opensrf-perl.pl.
805     
806     The layout of commands has changed some (e.g. --start-all instead of
807     --action start_all) and a host of new commands have been added.
808     
809     Below are the full set of commands.  See --help for full descriptions:
810     
811     --config
812     --pid-dir
813     --settings-startup-pause
814     --localhost
815     --service
816     --verbose
817     --no-daemon
818     --help
819     --start-all
820     --start
821     --restart-all
822     --restart
823     --stop-all
824     --stop
825     --graceful-shutdown-all
826     --graceful-shutdown
827     --fast-shutdown-all
828     --fast-shutdown
829     --immediate-shutdown-all
830     --immediate-shutdown
831     --kill-with-fire
832     --signal-all
833     --signal
834     --signal-timeout
835     
836     Signed-off-by: Bill Erickson <berick@esilibrary.com>
837     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
838
839 390     49      bin/opensrf-perl.pl.in
840 10      339     bin/osrf_ctl.sh.in
841
842 commit ca1a08ff5864a2a4ef8e11070330eb0f5eb3c518
843 Author: Bill Erickson <berick@esilibrary.com>
844 Date:   Thu Aug 1 10:39:21 2013 -0400
845
846     LP1204123 Remove osrf_ctl debug echos
847     
848     Signed-off-by: Bill Erickson <berick@esilibrary.com>
849     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
850
851 0       4       bin/osrf_ctl.sh.in
852
853 commit 06368dfa151f04c6cbb0b843b7e9dc795a8193c5
854 Author: Bill Erickson <berick@esilibrary.com>
855 Date:   Wed Jul 31 17:43:12 2013 -0400
856
857     LP1204123 Improved per-service control (C/Perl)
858     
859     C opensrf no longer mantains a single master process.  Instead, like
860     Perl, each Listener process writes its own PID file and can be managed
861     individually.  Related to this, much code was cleaned up in
862     osrf_system.c.
863     
864     osrf_ctl.sh now has the ability to stop/start individual services for
865     Perl and C, using the new -s <service> option.  Examples:
866     
867     osrf_ctl.sh -l -a restart_c -s opensrf.math
868     osrf_ctl.sh -l -a restart_perl -s opensrf.settings
869     
870     Signed-off-by: Bill Erickson <berick@esilibrary.com>
871     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
872
873 73      8       bin/osrf_ctl.sh.in
874 5       0       include/opensrf/osrf_system.h
875 57      13      src/libopensrf/opensrf.c
876 1       0       src/libopensrf/osrf_prefork.c
877 205     389     src/libopensrf/osrf_system.c
878
879 commit ab83a04551cd333870d0ee6679e5aa6f4342cfb3
880 Author: Bill Erickson <berick@esilibrary.com>
881 Date:   Wed Jul 31 09:34:19 2013 -0400
882
883     LP1204123 osrf_ctl.sh supports sending signals
884     
885     Using the following new options to osrf_ctl.sh, the script can now send
886     signals to any/all OpenSRF Listener processes:
887     
888     -a signal / signal_all
889     -k <signal> [value passed to 'kill -s']
890     -s <service>
891     
892     With an action of 'signal' and service provided by -s, the specified
893     signal is sent only to the listener process of the service.
894     
895     With an action of 'signal_all', the specified signal is sent to all
896     listener prcesses.
897     
898     Signed-off-by: Bill Erickson <berick@esilibrary.com>
899     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
900
901 73      2       bin/osrf_ctl.sh.in
902
903 commit cb6bdf156a69a60fa0a55006b6f638853da3b9f0
904 Author: Bill Erickson <berick@esilibrary.com>
905 Date:   Wed Jul 24 16:28:15 2013 -0400
906
907     LP1204123 Don't treat interrupts as errors
908     
909     Interrupted calls to select() are generally not errors, but more likely
910     signals received by the process.  Avoid setting the transport_client
911     error flag to true in these cases.  Otherwise, after one signal is
912     received, no other outbound communication can occur on the client
913     connection.
914     
915     Signed-off-by: Bill Erickson <berick@esilibrary.com>
916     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
917
918 1       3       src/libopensrf/transport_client.c
919 0       1       src/libopensrf/transport_session.c
920
921 commit ab845cdebe7588a7fd4fb67317b7deab557fa210
922 Author: Bill Erickson <berick@esilibrary.com>
923 Date:   Tue Jul 23 12:06:48 2013 -0400
924
925     LP1204123 SIGUSR2 causes router re-register (Perl/C)
926     
927     When a listener process receives the USR2 signal, the 'register' command
928     is sent to all known routers.  This allows for the addition of new
929     routers to running opensrf services.
930     
931     If a register command is sent to a router for which the process is
932     already successfully register, the router will safely discard it, so
933     multiple SIGUSR2 calls are safe.
934     
935     Minor int => bool clarification repair to existing C shutdown
936     (prefork_clear) code.
937     
938     Signed-off-by: Bill Erickson <berick@esilibrary.com>
939     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
940
941 20      5       src/libopensrf/osrf_prefork.c
942 1       0       src/perl/lib/OpenSRF/Server.pm
943
944 commit 84d949cc09de9e2689b76541caeae524ab3b1f1e
945 Author: Bill Erickson <berick@esilibrary.com>
946 Date:   Tue Jul 23 11:31:34 2013 -0400
947
948     LP1204123 opensrf.settings reload file option
949     
950     opensrf.settings API calls
951     
952     opensrf.settings.host_config.get
953     opensrf.settings.default_config.get
954     
955     now sport an additional "reload" boolean parameter.  When set, the settings
956     file (opensrf.xml) will be reloaded from the file system to pick up any
957     changes which have occurred since the last load/reload.
958     
959     Signed-off-by: Bill Erickson <berick@esilibrary.com>
960     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
961
962 8       5       src/perl/lib/OpenSRF/Application/Settings.pm
963 13      24      src/perl/lib/OpenSRF/Utils/SettingsClient.pm
964 23      26      src/perl/lib/OpenSRF/Utils/SettingsParser.pm
965
966 commit 0e535cb775b78699f7ff15d9b73479f0aeaa4246
967 Author: Bill Erickson <berick@esilibrary.com>
968 Date:   Mon Jul 22 16:44:26 2013 -0400
969
970     LP1204123 SIGTERM graceful shutdown (C)
971     
972     When a TERM signal is received, the listener parent process will wait
973     for all child processes to complete any active tasks before killing the
974     child processes and shutting down.
975     
976     Receiving a SIGINT or SIGQUIT results in a non-graceful shutdown.
977     
978     In all cases, the system first un-registers with all routers.
979     
980     Signed-off-by: Bill Erickson <berick@esilibrary.com>
981     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
982
983 75      20      src/libopensrf/osrf_prefork.c
984
985 commit fc2dc403640ed245ff2ba8c3f44beea727d0e7cc
986 Author: Bill Erickson <berick@esilibrary.com>
987 Date:   Tue Jul 23 10:40:09 2013 -0400
988
989     LP1204123 SIGUSR1 causes router unregister (Perl/C)
990     
991     $ kill -s USR1 <listener_pid>
992     
993     The listener process will unregister all router connections.  This
994     allows services to remove themselves from consideration for new
995     inbound requests while allowing their drone processes to complete
996     any currently running tasks.
997     
998     Signed-off-by: Bill Erickson <berick@esilibrary.com>
999     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
1000
1001 50      13      src/libopensrf/osrf_prefork.c
1002 4       1       src/perl/lib/OpenSRF/Server.pm
1003
1004 commit 8cc60399d97466c43a87df7e48e80dbc3b88c2d6
1005 Author: Bill Erickson <berick@esilibrary.com>
1006 Date:   Fri Jun 21 16:43:01 2013 -0400
1007
1008     LP1204123 SIGTERM causes graceful shutdown (Perl)
1009     
1010     When sent the SIGTERM signal, listener processes will wait for all child
1011     processes to complete their currently running tasks before killing all
1012     child processes and exiting.
1013     
1014     SIGQUIT and SIGINT can still be used for semi-graceful shutdowns, where
1015     the listener de-registers and cleans up child processes, but does not
1016     wait for child processes to finish their tasks.
1017     
1018     To kill with fire, SIGKILL is still your friend.
1019     
1020     Signed-off-by: Bill Erickson <berick@esilibrary.com>
1021     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
1022
1023 20      4       src/perl/lib/OpenSRF/Server.pm
1024
1025 commit c69aced833683b5256554330aa652f3dd7556d10
1026 Author: Bill Erickson <berick@esilibrary.com>
1027 Date:   Wed Jun 26 14:51:52 2013 -0400
1028
1029     LP1204123 Set SIGCHLD handler to DEFAULT for children (perl)
1030     
1031     Remove the special SIGCHLD handler applied to the parent/listener
1032     process from spawned child processes (drones) by setting child handler to
1033     DEFAULT.  Otherwise, if an OpenSRF drone process spawns a sub-process,
1034     the drone will execute the SIGCHLD handler meant for the Listener when
1035     the sub-process dies, wherein hijinks ensue.
1036     
1037     Signed-off-by: Bill Erickson <berick@esilibrary.com>
1038     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
1039
1040 1       1       src/perl/lib/OpenSRF/Server.pm
1041