ChangeLog 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. 1.1.7 Mon May 6 06:46:20 EDT 2013
  2. * Cleanup of error codes returned by gearmand.
  3. * gearmand will now set its port from the env variable GEARMAND_PORT.
  4. * Fix issue where identifier might not be set correctly on reconnect.
  5. 1.1.6 Tue Apr 16 03:29:57 EDT 2013
  6. * Merge of 1.0.4 tree
  7. * Added support for gearadmin to "cancel" a job.
  8. * Keep-alive support for gearmand has been extended (more options to control behavior).
  9. * Fixed issues related to clients who didn't really support exceptions being passed exceptions.
  10. 1.1.5 Mon Feb 4 00:59:19 EST 2013
  11. * Rollup of bug fixes for 1.0.3
  12. * --threads=0 for gearmand will now result in gearmand using all available cores.
  13. 1.1.4 Mon Dec 17 21:24:16 EST 2012
  14. * Add GEARMAN_CLIENT_GENERATE_UNIQUE, with default set to not generate.
  15. * Experimental addition to queue service which will allow a queue to be stored on shutdown (--libsqlite3-store-on-shutdown).
  16. * Rollup of all changes in 1.0.2
  17. 1.1.3 Wed Nov 7 22:48:21 EST 2012
  18. * Merge with 1.0.1
  19. 1.1.2 Fri Oct 12 05:34:29 EDT 2012
  20. * Merge with 0.41
  21. 1.1.1 Wed Sep 19 22:04:56 EDT 2012
  22. * Merge with 0.39
  23. 1.1.0 Wed Sep 5 08:33:37 PDT 2012
  24. * Fix for ABI compatibility issues.
  25. 1.0.6 Mon May 6 02:48:30 EDT 2013
  26. * strlen() of zero on name passed for instance did not result in a connection to localhost (which the php driver thought would happen).
  27. * Fix regression in log not updating time on all platforms.
  28. * Fix issue where pecl php wasn't passing a null string to get default host.
  29. 1.0.5 Mon Apr 15 06:36:05 EDT 2013
  30. * Fix for log_fn
  31. 1.0.4 Never Released
  32. * Added --coredump flag to gearmand
  33. * Removed result type enum, since the structure is never exposed to the user this was of limited use.
  34. * Assorted bug fixes.
  35. 1.0.3 Sun Feb 3 21:05:52 EST 2013
  36. * Allow for a longer set of retries if port is in use when the server starts up.
  37. * Added checking for valgrind sgcheck
  38. * Fedora 18 fixes.
  39. 1.0.2 Mon Dec 17 07:24:42 EST 2012
  40. * Add --expceptions to Gearmand to enable exceptions by default
  41. * Backtraces on some types of crashes.
  42. * Add GEARMAN_CLIENT_GENERATE_UNIQUE.
  43. * If the unique value passed to any client function is "#" then the unique value will be derived by hashing the workload that is being supplied to the function.
  44. * Optimize status requests so that they exit as soon as request is received.
  45. * Fix test case results for FreeBSD.
  46. 1.0.1 Tue Nov 6 01:07:07 EST 2012
  47. * Stable branch labeled as 1.0
  48. * Update all build related files.
  49. * Add a few additional platforms to the supported list.
  50. 0.41 Fri Oct 12 05:34:29 EDT 2012
  51. * Switched from --having-debug to --enable-debug
  52. * Fix for SQLITE, it wasn't replaying its queue on startup.
  53. * More testing done now on durable queues.
  54. 0.39 Wed Sep 19 03:36:06 EDT 2012
  55. * Added gearman_job_error() interface.
  56. * gearman_client_errno() and gearman_worker_errno() now return EINVAL if client or worker is invalid.
  57. 0.38 Fri Sep 14 02:16:01 EDT 2012
  58. * Updates for compiling on different platforms.
  59. * UUID portability fixes.
  60. 0.37 Sun Sep 2 22:51:08 EDT 2012
  61. * Fix compiler issues around older compilers. Bug 1039629.
  62. 0.36 Sat Aug 18 16:57:13 EDT 2012
  63. * Fix issue where sqlite was not correctly being shutdown.
  64. * Check for more warnings (and cleanup found from).
  65. * Fix thread safety issue for uuid_generate().
  66. 0.35 Sun Aug 5 16:03:21 EDT 2012
  67. * Critical bug fix for rare case in which initialization of pipe for a worker fails.
  68. * Add support for MySQL specific driver to specify port.
  69. * Fix library issue with OSX Mountain Lion.
  70. 0.34 Tue Jul 10 21:19:10 EDT 2012
  71. * Alpha support for direct MySQL queue.
  72. * XML option for testing under valgrind.
  73. * gearmand now allows for a user to specify the format for the server key
  74. * First pass support for checking status via unique value.
  75. 0.33 Thu May 3 22:09:29 PDT 2012
  76. * Add --config-file option
  77. * Additional testing for Drizzle
  78. * Fix for OSX 10.6.8 compile issue.
  79. 0.32 Wed Apr 11 02:25:38 PDT 2012
  80. * Fix for shutdown bug.
  81. 0.31 Sat Apr 7 11:56:58 PDT 2012
  82. * Fixes for bugs 975591, 974712, 970828, 967859, 967463,
  83. * Valgrind fix around epoch retry.
  84. * Numerous issues cleaned up around bouncing server during testing.
  85. 0.29 Tue Mar 13 22:58:16 PDT 2012
  86. * Additional Fixes for Postgres
  87. * Additional debug calls in server via tuneable logging.
  88. * Documentation update.
  89. * Fixes for Ubuntu 11.10
  90. 0.28 Thu Jan 26 22:43:46 PST 2012
  91. * -v has been deprecated because of parsing issues. Please use --verbose instead
  92. * --log-file=stderr will set output to stderr.
  93. * Fix for gearman.spec file for rpm build.
  94. 0.27 Mon Jan 9 20:02:16 PST 2012
  95. * Fix for TokyoCabinet
  96. * Build updates for building on Ubuntu
  97. 0.26 Wed Nov 30 09:25:49 PST 2011
  98. * Completed support for syslog for gearmand
  99. * Fix libdrizzle issues
  100. * Add API for killing a worker.
  101. 0.25 Thu Nov 3 09:18:46 PDT 2011
  102. * 1.0 libgearman API extracted.
  103. * Fix for long function names.
  104. * Fix for Worker consuming CPU by hanging.
  105. * TokyoCabinet build fix.
  106. * Fix for 32bit fix.
  107. 0.24 Sun Jul 24 20:57:02 PDT 2011
  108. * Minor bug fixes.
  109. * Updated test framework.
  110. * make fixes for Fedora.
  111. 0.23 Wed Jun 29 13:26:26 PDT 2011
  112. * Defined workers can now return GEARMAN_SHUTDOWN.
  113. * Benchmark worker can now be told to shutdown.
  114. * Allocator code has been cleaned up (gearman_allocator_t).
  115. * Added "workers" option to gearadmin
  116. * Workers will now default to -1 as timeout (lowers CPU on gearmand server for non-active workers).
  117. * SO_KEEPALIVE is now enabled on client/worker connections.
  118. * By default, workers now grab the unique value of the job.
  119. 0.22 Sun Jun 19 20:32:18 PDT 2011
  120. * Added gearman_work_map() for gearman_work_t describer.
  121. * gearman_execute_by_partition() added.
  122. * gearamn_task_attr_t added.
  123. * Additional documentation update.
  124. * Issue with PHP client using automated task free (Thanks Taneli Leppä!!)
  125. * Fixed issue where PHP client's custom allocator was free'ing memory that did not belong to it.
  126. 0.21 Wed Jun 15 21:01:04 PDT 2011
  127. * Support for "drop function" in admin client
  128. * Fixed issue where server would not report on a bad unique value due to size
  129. * Forces do operations to complete no matter how the worker is designed.
  130. * Tasks inherit actions from client, and use them throughout execution.
  131. * Support for namespaces.
  132. * gearman_worker_define_function() has been added. It allows jobs to map out work to other workers and then aggregate the results.
  133. * gearman_client_run_tasks() will now reset the IO state for all connections on exit if all hosts have been marked down. The next call will check all hosts.
  134. * Lots of bug fixes.
  135. 0.20 Fri Apr 8 09:25:15 PDT 2011
  136. * gearman_client_execute() interface added
  137. * New types of gearman_unique_t, gearman_function_st, gearman_workload_t
  138. * Better error reporting from clients.
  139. * Server no longer hangs because of bad job list.
  140. * First bit of work on supporting epoch portion of protocol. John Ewart, john@johnewart.net
  141. * Improved error message handling in client.
  142. * Updates for manpages.
  143. 0.19 Fri Apr 1 09:50:22 PDT 2011
  144. * Fix bug where gearman util would create duplicate output.
  145. * Update sqlite queue so that it uses a prepared statement.
  146. * Fixes a number cases where server was not initializing default values internally correctly.
  147. * gearman_client_compare() API added. Returns true if the client connections are connects are equivalent.
  148. 0.18 Tue Mar 15 13:32:33 PDT 2011
  149. * Bug fix for compile when no plugins are requested.
  150. * Bug fix where during startup using Drizzle or MySQL the server could crash.
  151. * Bug fix to make sure test programs will run if NULL sized objects are sent.
  152. 0.17 Tue Mar 8 08:27:04 PST 2011
  153. * gearadmin added, easy access to shutdown, version, and verbose commands on the server.
  154. * Bug fixes related to CLI.
  155. * Bug fixes related to Memcached support.
  156. * Bug fixes related to Drizzle support.
  157. * Dependency on boost now required for build.
  158. * Drizzle queue module expects that a schema named "gearmand" exists.
  159. * Fix copyright headers were needed.
  160. 0.16 Tue Feb 22 10:55:33 PST 2011
  161. * Fixed cases where silent failure of server for queues would not cause tests to fail.
  162. * Fix for failure when setsockopt() failed on new connection.
  163. * Fixed silen exit in client library based on signals.
  164. * Error log now reports failure location in compiled code for ERROR conditions.
  165. * Fix for failover.
  166. * Fixed issue in client where it would silently die based on signal issues.
  167. * "verbose" has been added to the string protocol. It allows you to see what the verbose setting is.
  168. 0.15 Mon Feb 14 18:44:32 PST 2011
  169. * Numerous issues around overflow on buffers are now fixed.
  170. * Updates on gearmand daemon to share a bit more code.
  171. * Numerious fixes for gearman command line client.
  172. * IPV6 fix for server.
  173. 0.14 Wed Jun 30 13:04:39 PDT 2010
  174. * Leak in SQLite resolved.
  175. * updated build configs
  176. * Increased testting.
  177. 0.13 Sun Apr 4 14:45:08 PDT 2010
  178. * Fix for bug #518512.
  179. * Use OR REPLACE syntax for inserting items into the sqlite.
  180. * Changed default bitfield optimize setting to only be off for Solaris.
  181. * Refactoring on server.
  182. * Various bug fixes as reported on mailing list, such as a bad return code and treating EHOSTDOWN as lost connection for FreeBSD.
  183. * Fixed bug #543402 so jobs taking more than max job retries will be removed from persistentn queue as well.
  184. * Check to make sure worker job results match assigned worker.
  185. 0.12 Thu Feb 18 11:28:49 PST 2010
  186. * Fixed bug where memory loss occured if data was too large.
  187. * Added gearman_strerror().
  188. * Fixed bug where setting an option off in mass would not trip any triggers on the option (for both worker and client).
  189. * Options that are internal can no longer be set by external callers.
  190. * Deprecated gearman_client_set_event_watch_fn() and gearman_worker_set_event_watch_fn.
  191. * gearman_job_handle() and gearman_job_function_name() now return const char* pointers
  192. * gearman_worker_unregister now returns GEARMAN_NO_REGISTERED_FUNCTION if the function does not exist (or is being removed)
  193. * Added gearman_worker_function_exist()
  194. * Trying to send too large of a piece of data will result in GEARMAN_ARGUMENT_TOO_LARGE.
  195. * Added support for gearmand command client to daemonize and create a pid file.
  196. * Fixed job handle comparison bug with WORK_FAIL responses.
  197. * Fixed disable assert configure option.
  198. * Build system updates.
  199. 0.11 - 2009-11-30
  200. * Added max wakeup-worker option to gearmand. Default is still to wakeup all.
  201. * API and documentation cleanup.
  202. * Fixed bug where task context free function was getting called for do() functions. This was PECL/Gearman bug #16899 as well.
  203. * Fixed bug #458912, not flushing with multiple gearmands in client.
  204. * Fixed PECL/Gearman bug #16847, was actually in C library and not in PHP.
  205. * Fixed C++ build/test/ issue, updated pandora build system.
  206. * Removed packet varargs function.
  207. 0.10 - 2009-09-28
  208. * Added timeout option.
  209. * Separated libgearman client/worker library from the server/gearmand code.
  210. * Added server option for max job retry.
  211. * Changed queue_libdrizzle to overwrite the password string to hide in ps.
  212. * Worker unregister bug fixed. Bug #372074
  213. * Added memory ownership functions so applications can pass control with tasks, jobs, and packets.
  214. * Changed gearmand to remap stdio to /dev/null for detaching. Bug #407242
  215. * Fixed bug that now allows workers to run concurrent jobs.
  216. * Changed behavior of sending NOOPs to one per PRESLEEP, rather than only having one in the outgoing queue at any time.
  217. * API cleanup to make the code more consistent and object-oriented.
  218. * Added more documentation for base classes, client, and worker.
  219. * Build system updates.
  220. 0.9 - 2009-07-20
  221. * Added libsqlite3 persistent queue support (Cory Bennett).
  222. * Added libpq (PostgreSQL) persistent queue support.
  223. * Updated autoconf build system.
  224. * Doxygen documentation cleanup.
  225. * Bug fix in HTTP protocol module.
  226. 0.8 - 2009-06-30
  227. * Added pluggable protocol support.
  228. * Added basic HTTP protocol support.
  229. * Updated autoconf build system.
  230. * Renamed modconf to gearman_conf.
  231. * Improved logging messages for gearmand.
  232. * Removed all struct memsets and packed structs for better memory usage.
  233. * Fixed client connect bug with multiple job servers.
  234. * Fixed server spinning bug with long running jobs and large workloads.
  235. 0.7 - 2009-05-31
  236. * Added libmodconf for config option processing. Eventually this will be split into a separate library. Updated gearmand and tests to use libmodconf.
  237. * Fixed persistent queue bug where jobs were not removed after replay.
  238. * Fix for bug #379198.
  239. * Changed done() function for queue, function_name is now passed to it as well as unique.
  240. * Fixed text protocol command response to be dynamic length.
  241. * Fixed libevent usage to support libevent 1.1 (still used in CentOS and Suse).
  242. * Added gearman_*_add_servers to client/worker interfaces for taking server lists.
  243. 0.6 - 2009-05-19
  244. * Changed behavior so forground jobs are not run when their connected clients disconnect. This is how the Perl server behaves.
  245. * Changed to named logging macros, making it easier for module writers to use.
  246. * Added persistent queue support with a libdrizzle module. This allows queue storage for both Drizzle and MySQL.
  247. * Added Solaris service scripts (Trond Norbye).
  248. * Fixed rpm building (make rpm).
  249. * Removed AI_V4MAPPED for client/worker connect lookup, not fully supported in all operating systems (like FreeBSD, bug #373060).
  250. * Support for gearmand to bind to multiple addresses.
  251. * Protocol document updates and fixes (Eric Day, Eric Herman).
  252. * Bind to specific hostname in gearmand (Brian Moon).
  253. * Minor cleanup and fixes.
  254. 0.5 - 2009-04-22
  255. * Threaded Gearman job server (gearmand).
  256. * More options to gearmand.
  257. * OSX bug fixes related to poll().
  258. * Fix for bug #357881.
  259. * Man page rework.
  260. 0.4 - 2009-03-30
  261. * New protocol additions such as UNIQ grab and assign for workers.
  262. * Support for high priority background jobs (Brian Moon).
  263. * Support for low priority jobs.
  264. * New priority queue in server to support new protocol options.
  265. * Reworked the unique ID checking in server.
  266. * Added hooks to aid in client memory cleanup.
  267. * Added gearman command line utility to allow you to use clients and workers from the shell.
  268. * Build fixes (Monty Taylor).
  269. * Basic init script added.
  270. * Fixed getopt bugs with variable type and EOF.
  271. 0.3 - 2009-02-05
  272. * Fixed I/O wait bug in packet parse.
  273. * Switched to different autoconf library detection method.
  274. * Added detach option to gearmand, can now run in background.
  275. * Reworked much of the client code for better concurrency and efficiency.
  276. * Added benchmark utilities.
  277. * Added man pages.
  278. * Changed port to new IANA assigned port, 4730.
  279. 0.2 - 2009-01-16
  280. * Improved gearmand efficiency by tracking events and reducing syscalls.
  281. * Reworked most of the worker code, it now reconnects to the job server.
  282. * Added version/bugreport options to gearmand (Brian Moon).
  283. * Fixed bug #315652, libevent usage.
  284. 0.1 - 2009-01-08
  285. * First release.