| 1 |
2.004.015 2018-08-24 16:41:00 Europe/Berlin |
| 2 |
add documentation of client's undocumented options |
| 3 |
- https://github.com/p-alik/perl-Gearman/issues/40 |
| 4 |
add example explains usage of work sub's callbacks. |
| 5 |
- https://github.com/p-alik/perl-Gearman/issues/41 |
| 6 |
|
| 7 |
2.004.014 2018-03-13 19:28:00 Europe/Berlin |
| 8 |
- prevent recursion warnings |
| 9 |
https://github.com/p-alik/perl-Gearman/issues/38 |
| 10 |
|
| 11 |
2.004.013 2018-02-05 16:45:00 Europe/Berlin |
| 12 |
- bug fixing: Gearman::Util::read_res_packet |
| 13 |
https://github.com/p-alik/perl-Gearman/issues/37 |
| 14 |
|
| 15 |
2.004.012 2018-01-04 11:03:00 Europe/Berlin |
| 16 |
- bug fixing timestamp taskset wait shows unaltered timestamp on fail |
| 17 |
https://github.com/p-alik/perl-Gearman/issues/35 |
| 18 |
|
| 19 |
2.004.011 2017-12-22 16:05:00 Europe/Berlin |
| 20 |
- bug fixing client doesn't on_fail on timeout |
| 21 |
https://github.com/p-alik/perl-Gearman/issues/33 |
| 22 |
- peculiar handling of ssl-sockets in taskset->wait to avoid freezing |
| 23 |
https://github.com/p-alik/perl-Gearman/issues/32 |
| 24 |
|
| 25 |
2.004.010 2017-11-19 14:46:00 Europe/Berlin |
| 26 |
- bug fixing worker high CPU usage in idle state |
| 27 |
https://github.com/p-alik/perl-Gearman/issues/28 |
| 28 |
- switch to blocking to continue fetching partial read |
| 29 |
https://github.com/p-alik/perl-Gearman/pull/30 |
| 30 |
- pod notes with regard to usage of UTF-8 |
| 31 |
https://github.com/p-alik/perl-Gearman/issues/27 |
| 32 |
|
| 33 |
2.004.009 2017-10-08 21:04:00 Europe/Berlin |
| 34 |
- bug fixing Worker->work: register functions on reconnect. |
| 35 |
see: https://github.com/p-alik/perl-Gearman/issues/23 |
| 36 |
- Gearman::Client->do_task invokes Gearman::Task on_complete hook, if it is defined |
| 37 |
- add documentation of Gearman::Client exceptions property |
| 38 |
|
| 39 |
2.004.008 2017-06-13 13:35:00 Europe/Berlin |
| 40 |
- bug fixing: double worker registration |
| 41 |
https://github.com/p-alik/perl-Gearman/issues/21 |
| 42 |
- tests start gearmand with --log-file option. Default /dev/stderr |
| 43 |
|
| 44 |
2.004.007 2017-05-30 10:51:00 Europe/Berlin |
| 45 |
- bug fix: stringify job server in |
| 46 |
- get_job_server_status |
| 47 |
- get_job_server_clients |
| 48 |
- get_job_server_jobs |
| 49 |
|
| 50 |
2.004.006 2017-05-25 18:39:00 Europe/Berlin |
| 51 |
- bug fixing: Taskset->add_task support for large data |
| 52 |
- ssl tests large task data and large work result |
| 53 |
|
| 54 |
2.004.005 2017-05-19 13:11:00 Europe/Berlin |
| 55 |
- new worker method send_work_exception |
| 56 |
- send_work_fail does not support message parameter |
| 57 |
|
| 58 |
2.004.004 2017-05-09 07:53:00 Europe/Berlin |
| 59 |
- refactoring: Taskset carefully loops over loaned_sock |
| 60 |
|
| 61 |
2.004.003 2017-04-11 22:24:00 Europe/Berlin |
| 62 |
- Client and Worker could set SSL ca_file parameter |
| 63 |
- Taskset.pm refactoring: |
| 64 |
replace fileno handling by IO::Select |
| 65 |
|
| 66 |
2.004.002 2017-04-11 11:01:00 Europe/Berlin |
| 67 |
- do not force Client and Worker to set useless SSL ca_certs parameter |
| 68 |
|
| 69 |
2.004.001 2017-04-11 14:38:00 Europe/Berlin |
| 70 |
- Gearman::Client and Gearman::Worker could set prefix separator |
| 71 |
- It would be recommended to replace default prefix separator to insure |
| 72 |
gearmand persistent queue recovery. |
| 73 |
|
| 74 |
2.003.002 2017-03-26 22:01:00 Europe/Berlin |
| 75 |
- tests are perl 5.25 ready (use lib .) |
| 76 |
-- GEARMAN_WORKER_USE_STDIO test only with AUTHOR_TESTING |
| 77 |
|
| 78 |
2.003.001 2017-03-13 21:47:00 Europe/Berlin |
| 79 |
-- test compatibility for gearmand and Gearman::Server |
| 80 |
|
| 81 |
2.003_002 2017-03-02 14:45:00 Europe/Berlin |
| 82 |
-- restore Gearman::Client::Async support. #10 |
| 83 |
-- try to bug fix ssl callback testing |
| 84 |
|
| 85 |
2.003_001 2017-02-18 18:37:00 Europe/Berlin |
| 86 |
-- worker: |
| 87 |
-- remove THROW_EXCEPTIONS defination in BEGIN block |
| 88 |
-- add support of protocol commands WORK_DATA and WORK_WARNING |
| 89 |
-- new methods: |
| 90 |
-- send_work_data |
| 91 |
-- send_work_warning |
| 92 |
-- send_work_complete |
| 93 |
-- send_work_fail |
| 94 |
-- _get_js_sock: no execution of object _on_connect if callback is defined |
| 95 |
-- fixing client do_task: do not overwrite on_fail callback |
| 96 |
-- Gearman::Task support of low priority |
| 97 |
-- remove Ref::Util dependency |
| 98 |
|
| 99 |
2.002.004 2016-12-05 09:02:16 Europe/Berlin |
| 100 |
-- requires Ref::Util >= 0.020; see cpan tester report 848fbc3e-b94f-11e6-8baf-a6caeafb6ca6 |
| 101 |
-- Makefile.PL updates |
| 102 |
LICENSE: perl |
| 103 |
min perl version 5.8.1 |
| 104 |
-- fixing worker GEARMAN_WORKER_USE_STDIO env test |
| 105 |
|
| 106 |
2.002.003 2016-12-04 22:13:00 Europe/Berlin |
| 107 |
-- add DISTNAME into Makefile.PL to get back to the old distribution name |
| 108 |
|
| 109 |
2.002.002 2016-12-03 12:10:00 Europe/Berlin |
| 110 |
-- skip worker stop_if test if no gearmand |
| 111 |
|
| 112 |
2.002.001 2016-12-02 22:01:00 Europe/Berlin (TRIAL RELEASE) |
| 113 |
-- job_servers entries could be a hash references or string |
| 114 |
-- bug fixing Gearman::Util::send_req() SSL frame limitation (esabol) |
| 115 |
|
| 116 |
2.001.001 2016-10-13 10:45:00 Europe/Berlin (TRIAL RELEASE) |
| 117 |
-- support for SSL connection to gearmand |
| 118 |
-- support IPv6 |
| 119 |
-- tests refactoring |
| 120 |
|
| 121 |
1.130.004 (2016-08-06) |
| 122 |
-- add Gearman::ResponseParser pod |
| 123 |
-- add Gearman::ResposeParser::Taskset pod |
| 124 |
-- rename Gearman::Taskset->_process_packet to process_packet |
| 125 |
-- issue 116744 Utility pod |
| 126 |
|
| 127 |
1.130.003 (2016-08-05) |
| 128 |
-- check OS in Test::Gearman and don't use "which" on Windows |
| 129 |
-- replace 'use Errno qw(EAGAIN)' by 'POSIX qw(:errno_h)' |
| 130 |
see: http://www.cpantesters.org/cpan/report/d801a704-5975-11e6-9451-9b92aab8e0c0 |
| 131 |
|
| 132 |
1.130.002 (2016-08-03) |
| 133 |
-- skip worker _get_js_sock test without gearmand |
| 134 |
|
| 135 |
1.130.001 (2016-08-02) |
| 136 |
-- refactoring of Gearman::Util::read_res_packet: no goto/redo |
| 137 |
-- test suite refactoring |
| 138 |
-- solved issue 85191 Programming error prevents Gearman::Worker::work() from connecting to servers |
| 139 |
-- solved issue 59185 document Gearman::Client::get_status |
| 140 |
-- solved issue 56508 using $task->fail("reason goes here") in Gearman::Taskset |
| 141 |
|
| 142 |
1.12.009 (2016-06-04) |
| 143 |
-- run t/30-maxqueue.t and t/40-prefix.t only with AUTHOR_TESTING |
| 144 |
-- s/::Object/::Objects/ |
| 145 |
|
| 146 |
1.12.008 (2016-06-03) |
| 147 |
-- rename Gearman::Base back to Geamrman::Object because Gearman-Client-Async depends on it |
| 148 |
|
| 149 |
1.12.007 (2016-05-20) |
| 150 |
-- more tests only with AUTHOR_TESTING |
| 151 |
|
| 152 |
1.12.006 (2016-05-19) |
| 153 |
-- tests refactoring |
| 154 |
-- execute some tests only if AUTHOR_TESTING env is defined |
| 155 |
|
| 156 |
1.12.005 (2016-05-06) |
| 157 |
-- rm META.* |
| 158 |
|
| 159 |
1.12.004 (2016-05-06) |
| 160 |
|
| 161 |
-- solved issue 5324ce04-0bae-11e6-a317-839d20bbf307 |
| 162 |
there was a bug in test script |
| 163 |
|
| 164 |
1.12.003 (2016-05-01) |
| 165 |
|
| 166 |
-- tested with perl5-22-1 to improve cpan tester resport |
| 167 |
5324ce04-0bae-11e6-a317-839d20bbf307 |
| 168 |
|
| 169 |
-- fields moved from Gearman::Objects to proper modules |
| 170 |
|
| 171 |
-- rm obsolete Gearman::Objects |
| 172 |
|
| 173 |
-- use warnings (except redefine) |
| 174 |
|
| 175 |
-- perltidy applied to all modules |
| 176 |
|
| 177 |
1.12.002 (2014-12-19) |
| 178 |
|
| 179 |
-- attempt to fix bugs: 89037, 100594, 101012 |
| 180 |
|
| 181 |
-- cpan tester report 586f5968-8489-11e4-adb9-802de0bfc7aa is - ugly - fixed too |
| 182 |
|
| 183 |
-- refactoring: Client/Worker base class added |
| 184 |
|
| 185 |
-- dynamic tests by using environment variable GEARMAN_SERVERS |
| 186 |
|
| 187 |
1.12 (2014-12-14) |
| 188 |
|
| 189 |
-- Repoint HACKING file. |
| 190 |
|
| 191 |
-- Make a jobserver connection use the command timeout during exception negotiation. |
| 192 |
|
| 193 |
-- Make $taskset->add_task use the command timeout to not hang during job submission. |
| 194 |
|
| 195 |
-- Add a client option 'command_timeout' to indicate how long we should wait before considering a |
| 196 |
gearman command to have failed. This not the same as a job timeout, and only affects commands |
| 197 |
that should generally not block apart from the roundtrip on the network. |
| 198 |
|
| 199 |
-- When a connection to a gearman server fails, start counting how many failures we've had and |
| 200 |
do an exponential backoff (1s, 4s, 9s, 16s...) to a maximum of 90 seconds (default) that we |
| 201 |
treat the server as 'gone' quickly. |
| 202 |
|
| 203 |
-- Change dispatch_background to share code paths with other dispatching, this will make |
| 204 |
background jobs now be hashed to a particular server (rather than handed to a random server) |
| 205 |
|
| 206 |
1.11 (2010-01-17) |
| 207 |
|
| 208 |
-- Switch read_res_packet to use sysread with a large buffer and offsets. This improves |
| 209 |
memory usage (sometimes drastically) and performance. |
| 210 |
|
| 211 |
-- Fix from Martin Atkins, don't print() in the Gearman::Util code and close sockets |
| 212 |
when you have an error of some kind (indicating we're out of sync) |
| 213 |
|
| 214 |
1.10 (2009-10-04) |
| 215 |
|
| 216 |
-- Make workers wake up periodically for a particular server to make sure they aren't |
| 217 |
stale connections. This happened naturally (although at relatively low interval) in |
| 218 |
previous releases. |
| 219 |
|
| 220 |
-- Help prevent leaks when Gearman::Task->add_hook is used. |
| 221 |
|
| 222 |
-- Change worker to only 'wake up' against a gearmand that has woken it up, this prevents |
| 223 |
a constant flood of pre-sleep command from arriving at an otherwise silent gearmand. |
| 224 |
|
| 225 |
-- Fix issue where prefixes were double-prepended on function names on worker |
| 226 |
upon reconnect. |
| 227 |
|
| 228 |
-- Fix issue where the other response parser code in Util would silently truncate |
| 229 |
argument strings longer than 20*the socket buffer size. |
| 230 |
|
| 231 |
-- Fix issue where the ResponseParser class would not correctly handle messages with |
| 232 |
zero-length bodies. |
| 233 |
|
| 234 |
-- Make the Gearman::Task class autoload Storable and fail gracefully when it's not |
| 235 |
loadable. |
| 236 |
|
| 237 |
-- Initial fold-in of exceptions support in the gearman client, makes an option |
| 238 |
to the gearman server to enable it, and is disabled by default. Workers will |
| 239 |
will attempt to throw exceptions anytime Storable is available. |
| 240 |
|
| 241 |
-- fix jobs of > 32kilobytes in size so they work properly (workers would disconnect |
| 242 |
when a job greater than 32kb would arrive.) |
| 243 |
|
| 244 |
-- expose the time that the last job was processed in the stop_if hook of worker. |
| 245 |
Since a jobserver wakes up all workers in the case of a new job to be processed |
| 246 |
the concept of is_idle doesn't actually reflect if a worker has procssed jobs, |
| 247 |
rather it indicates whether the jobserver has been silent for 10 seconds. |
| 248 |
|
| 249 |
-- change server polling order in workers to start at a random point in the list |
| 250 |
during every worker pass. So we drain jobs from all servers rather than |
| 251 |
working on each of them in order. |
| 252 |
|
| 253 |
1.09 (2007-06-29) |
| 254 |
|
| 255 |
-- document the license and copyright |
| 256 |
|
| 257 |
1.08 (2007-05-21) |
| 258 |
|
| 259 |
-- add "package Gearman::Objects" line to Objects.pm, to ease RPM |
| 260 |
building |
| 261 |
|
| 262 |
-- reserve the packet number for "all_yours", not yet implemented |
| 263 |
|
| 264 |
-- In pack_res_command, silence any warnings about 'undefined' or 'uninitialized' |
| 265 |
variables if we aren't sending an argument along with the command. |
| 266 |
|
| 267 |
1.07 (2007-05-07) |
| 268 |
|
| 269 |
-- continued improved support for child processes as workers, |
| 270 |
making workers go away cleanly if parent pipe dies/EPIPEs. |
| 271 |
|
| 272 |
1.06 (2007-05-04) |
| 273 |
|
| 274 |
-- better support for Gearman::Workers as child processes talking |
| 275 |
to a Gearman::Server over unix pipe to parent |
| 276 |
|
| 277 |
-- In worker class, broke out the on connection work, and use that better |
| 278 |
in the case of being a sub process of the gearmand. |
| 279 |
|
| 280 |
1.05 (2007-04-26) |
| 281 |
|
| 282 |
-- update the prefix code to not break Gearman::Client::Async, which |
| 283 |
was also updated to be compatible. |
| 284 |
|
| 285 |
-- Add ability for workers to be launched as sub processes of the |
| 286 |
gearmand, using a duped socketpair for communication. |
| 287 |
|
| 288 |
-- just some extra debugging/deaths during weird cases (helped find |
| 289 |
bugs when server code was massively refactored) |
| 290 |
|
| 291 |
1.04 (2007-04-16) |
| 292 |
|
| 293 |
-- Let Gearman::Worker use hostnames for job_servers (like |
| 294 |
Gearman::Client does) (Ask) |
| 295 |
|
| 296 |
-- Add prefix setting to Gearman::Client and Gearman::Worker for simple |
| 297 |
namespace separation of different instances of the same worker and |
| 298 |
client code sharing job servers. (Ask Bjoern Hansen) |
| 299 |
|
| 300 |
-- Refactor tests to have less duplicate code (Ask Bjoern Hansen) |
| 301 |
|
| 302 |
-- Make Gearman::Client / Gearman::Worker tests use $^X instead |
| 303 |
of hardcoded 'perl' to start gearmand (Ask Bjoern Hansen) |
| 304 |
|
| 305 |
1.03 |
| 306 |
-- Workers can now specify a timeout that when a task exceeds the time, the |
| 307 |
jobserver will reassign the task and ignore results from the defunct job. |
| 308 |
|
| 309 |
1.02 |
| 310 |
-- Task objects weren't reusable before anyway, and now they're really not: |
| 311 |
when they complete or fail, they wipe all their internal subref members |
| 312 |
to break any potential loops. also now support a new internal hook |
| 313 |
that happens after your on_complete or on_failure callback. this |
| 314 |
is used by Gearman::Client::Async now, for cancelling timers. |
| 315 |
|
| 316 |
1.01 |
| 317 |
-- when workers are writing status messages up to parent, die on SIGPIPE, |
| 318 |
or really any write errors, but just trap SIGPIPE now, if parent goes away. |
| 319 |
fixes a bug found via Gearman::Client::Async's test suite. |
| 320 |
|
| 321 |
1.00 |
| 322 |
-- finally package it up and call it 1.00 now that we've been using |
| 323 |
it in (LiveJournal) production for quite a while, finding/fixing |
| 324 |
the bugs that happen when you put something into production. |
| 325 |
|