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