1 2012-02-29: Release version 2.59
3 * don't make SQLite error out on lock calls (dormando <dormando@rydia.net>)
5 * Postgres wasn't honoring a no-wait timeout (dormando <dormando@rydia.net>)
7 2012-02-28: Release version 2.58
9 * reduce UPDATE's to device table (dormando <dormando@rydia.net>)
11 * replicate: retry on short writes to destination (Eric Wong <normalperson@yhbt.net>)
13 * enable TCP keepalives for accepted sockets (Eric Wong <normalperson@yhbt.net>)
15 * Populate memcache even when noverify is missing (Pyry Hakulinen <pyry@automattic.com>)
17 * Remove FID from memcache when it is deleted (Pyry Hakulinen <pyry@automattic.com>)
19 * Unset memc when memcache servers have been removed (Pyry Hakulinen <pyry@automattic.com>)
21 * Filter out illegal memcache servers from memcache_servers (Pyry Hakulinen <pyry@automattic.com>)
23 * Add skip_mkcol setting for servers which do not need it (Pyry Hakulinen <pyry@automattic.com>)
25 * skip_devcount variable that disables devcount updates (Pyry Hakulinen <pyry@automattic.com>)
27 * Back off if master DB is down (dormando <dormando@rydia.net>)
29 * use cached setting for slave list (dormando <dormando@rydia.net>)
31 * fix "fsck never stops" issue (dormando <dormando@rydia.net>)
33 2012-01-31: Release version 2.57
35 * Silence a warning about undefined value introduced by the slave database ordering work (hachi@kuiki.net)
37 * Need a hook to be able to check the slave list during startup (hachi@kuiki.net)
39 2012-01-27: Release version 2.56
41 * Add database connect timeouts (dormando <dormando@rydia.net>)
43 * fix potential hang in JobMaster added in 2.55 (dormando <dormando@rydia.net>)
45 * fix "set_weight" command (Eric Wong <normalperson@yhbt.net>)
47 * sqlite: consider SQLITE_BUSY and SQLITE_LOCKED deadlocks (Eric Wong <normalperson@yhbt.net>)
49 * kill a little more dead fsck/Checker code (dormando <dormando@rydia.net>)
51 * Destroy mogdeps (dormando <dormando@rydia.net>)
53 * improve slave handling code (dormando <dormando@rydia.net>)
55 * don't spew errors if the master goes down (dormando <dormando@rydia.net>)
57 * provide an async server setting cache via monitor worker (dormando <dormando@rydia.net>)
59 * fix return value of commands that clear_cache (Eric Wong <normalperson@yhbt.net>)
61 * make reaper wait less time in test mode (dormando <dormando@rydia.net>)
63 * queryworker: reimplement "clear_caches" command (Eric Wong <normalperson@yhbt.net>)
65 * worker: use timeout with read_from_parent() instead of sleep (Eric Wong <normalperson@yhbt.net>)
67 * Fixed issue where too many devices being active could cause the monitor job
68 to be timed out by the watchdog. (Tomas Doran)
70 2011-11-14: Release version 2.55
72 * fixed sources in replication are now a suggestion (dormando <dormando@rydia.net>)
74 * More stats to help troubleshoot rebalance (dormando <dormando@rydia.net>)
76 * return 1 from condthrow if all is well (dormando <dormando@rydia.net>)
78 * schedule fsck replications for the future. (dormando <dormando@rydia.net>)
80 * stop enforcing a source id on new file upload (dormando <dormando@rydia.net>)
82 * restore new file upload replication priority (dormando <dormando@rydia.net>)
84 * Prevent queue related MySQL query hangs (dormando <dormando@rydia.net>)
86 2011-10-29: Release version 2.54
88 * Issue 36: Further insulate from mysql restarts resetting the fid counter (dormando <dormando@rydia.net>)
90 * Allow default class to be overridden again. (dormando <dormando@rydia.net>)
92 * Fix crash in old delete worker code (Daniel Frett <daniel.frett@ccci.org>)
94 * Fix mb_free() counting empty device as missing (git.user <git.user@gmail.com>)
96 * sqlite: fix mogdbsetup failure on new setups (Eric Wong <normalperson@yhbt.net>)
98 * fid size workaround for lighttpd 1.4.x (dormando <dormando@rydia.net>)
100 * Fix various issues in the new mogilefs server query worker. (Tomas Doran <bobtfish@bobtfish.net>)
102 * Allow chunked PUT's of unlimited size (dormando <dormando@rydia.net>)
105 * Fix fsck fixing a file from logging a message which appears to be
106 two commands (due to spurious \n). Also fix debug function to
107 not be able to log messages like this.
109 2011-08-12: Release version 2.53
111 * Fix host status not updating for trackers (important)
113 2011-07-30: Release version 2.52
115 * Plugins (such as FilePaths) might want to be run in info/debug commands (Michael Baehr <mbaehr@plos.org>)
117 * schema version 14; support devices > 16TB (dormando <dormando@rydia.net>)
119 * Make FSCK worker handle dead devices (dormando <dormando@rydia.net>)
121 * Throw out old HTTPFile->size code and use LWP (dormando <dormando@rydia.net>)
123 * Remove forced loading of DBD::mysql (dormando <dormando@rydia.net>)
125 * Don't test write on readonly devices (Akzhan Abdulin <akzhan.abdulin@gmail.com>)
127 2011-06-27: Release version 2.51
129 * Add minor backcompat for ZoneLocal and friends (dormando <dormando@rydia.net>)
131 * Only monitor a device if we should monitor it. (dormando <dormando@rydia.net>)
133 2011-06-15: Release version 2.50
135 * Completely rewire meta object caches. Device/Host/Class/Domain caches are
136 now asynchronously loaded via the Monitor worker. This should drastically
137 reduce the number of small queries issued against the master database.
138 (dormando <dormando@rydia.net>)
140 * Don't run workers until Monitor runs once (dormando <dormando@rydia.net>)
142 * s/TYPE/ENGINE/ for innodb initialization (dormando <dormando@rydia.net>)
144 * Create mogile database explicitly with UTF-8 encoding. (Robin H. Johnson <robbat2@gentoo.org>)
146 * Actually use the MOGTEST_* variables for Postgres testing... (Robin H. Johnson <robbat2@gentoo.org>)
148 * Add support for config file includes for Mogstored under lighttpd (Jason Mills <jmmills@cpan.org>)
150 * Make postgres use new delete worker code (Robin H. Johnson <robbat2@gentoo.org>)
152 * New test env variables: MOGTEST_DBROOT{USER,PASS} for easier test usage. (Robin H. Johnson <robbat2@gentoo.org>)
154 * Document test variables. (Robin H. Johnson <robbat2@gentoo.org>)
156 * Support inclusion of custom lighttpd config. (Jason Mills <jmmills@cpan.org>)
158 2011-01-13: Release version 2.46
160 * Fix job_master crash under postgres (Robin H. Johnson <robbat2@gentoo.org>)
162 * Revert "only dbh->ping if not used in over a minute" (dormando <dormando@rydia.net>)
163 *IMPORTANT FIX* if you're using 2.45, you should upgrade to this.
165 * Example application. (dormando <dormando@rydia.net>)
167 * missing $fidid for source_down error message (dormando <dormando@rydia.net>)
169 2011-01-08: Release version 2.45
171 * file_debug command (dormando <dormando@rydia.net>)
173 * add "file_info" command for fetching metadata. (dormando <dormando@rydia.net>)
175 * don't allow clients to upload to the wrong dev (dormando <dormando@rydia.net>)
177 * validate database handles in the right places (dormando <dormando@rydia.net>)
179 * only dbh->ping if not used in over a minute (dormando <dormando@rydia.net>)
181 * make list_fids work with gaps (dormando <dormando@rydia.net>)
183 * Postgres enqueue_fids_* cleanup (Robin H. Johnson <robbat2@gentoo.org>)
185 * Fixes MogileFS::Store::retry_on_deadlock to honor non-deadlock exceptions (Jason Mills <jmmills@cpan.org>)
187 * Implements tests for MogileFS::Store::retry_on_deadlock (Jason Mills <jmmills@cpan.org>)
189 * Implements tests for MogileFS::Store::ignore_replace (Jason Mills <jmmills@cpan.org>)
191 * job_master was never revalidating its dbh handle. (dormando <dormando@rydia.net>)
193 * add a couple useful stats (dormando <dormando@rydia.net>)
195 * Correct iostat command on darwin (Tomas Doran <bobtfish@bobtfish.net>)
197 * Fix test db creation with SQLite (Tomas Doran <bobtfish@bobtfish.net>)
199 * Fix SQLite so tracker at least starts (Tomas Doran <bobtfish@bobtfish.net>)
201 * additional debian packaging fixes (kad <kad@blegh.net>)
203 * debian packaging updates. (Andre Bohr <andrepascha@googlemail.com>)
205 * Documentation updates. (Pyry Hakulinen <pyh@iki.fi>)
207 * HTTPFile returns -1 if the file is missing from the device. Content-Length: 0 is valid and it should return BLEN not MISS. (Pyry Hakulinen <pyh@iki.fi>)
209 * some further editing of the info file. (dormando <dormando@rydia.net>)
211 * Changed repository metadata (Tomas Doran <bobtfish@bobtfish.net>)
213 2010-11-25: Release version 2.44
215 * Fix issue with rebalance not filtering source devs from the
218 * Make global rebalance limits work (Martijn Lina)
220 2010-10-10: Release version 2.43
222 * Make over-replication fixable again. (sigh)
224 * Fix old bug in MultipleHosts() which would not let you drop from
225 mindev > 1 down to 1.
227 2010-10-08: Release version 2.42
229 * Make FSCK run again (Andre Pascha)
231 * Fix Postgres schema upgrade issue (hopefully)
233 2010-10-06: Release version 2.41
235 * One line change that to fix uprading to 2.40
237 2010-09-28: Release version 2.40
239 * Optimize worker sleep patterns and worker/parent communications.
241 * New rebalance/drain code. See the docs/wiki for how to use.
242 ***NOTE*** Old drain/rebalance code is disabled. Setting a device
243 into drain mode no longer does what you think it would.
244 http://code.google.com/p/mogilefs/wiki/Rebalance
246 2010-08-13: Release version 2.37
248 * Make HTTP DELETE's work reliably
250 * Fix obscure crashes related to "unknown devices"
252 * make it slightly harder to crash trackers with bad slave DB settings
255 * make tracker -> storage node connection timeout configurable.
256 was hardcoded to 2 seconds. (Tomas Doran)
258 * update_class command (Tomas Doran)
260 2010-04-16: Release version 2.36
262 * Bump required version of perlbal for mogstored.
264 * Critical bug fix for creating files.
265 If you have many dead devices, poor filter ordering could cause
266 MogileFS to not consider any alive devices for new files.
268 * Actually default to BIGINT under MySQL...
269 Bug would always initialize new setups to INT.
271 2010-04-02: Release version 2.35
273 * Nuke ancient mogilefs 1.1 replication code.
274 no_unreachable_tracking and old_repl_compat variables are gone.
277 * Support modifying class replpolicy strings (requires new
278 mogadm/MogileFS::Client) (dormando)
280 * Print fidid and devid on errors when fsck fails to fix something
283 * Allow list_keys to work with a prefix of '0' (dormando)
285 * Print timestamp when logging to STDOUT (t0m)
287 * Sort by free space and weight fewer devices to avoid CPU churn
290 * Fix deadlock-related crash bugs in db queue fetch routines.
292 * Fix dependencies in MogileFS::Server (t0m)
294 * Fix bug in list_keys command that prevented searches with a
295 '0' prefix. (Ask Bjørn Hansen)
297 2009-12-05: Release version 2.34
299 * Fix bug in new copycount reduction code. If it was more than off by
300 one it wouldn't reduce the count properly.
302 * Improve accept loop. A reasonably busy tracker could start dropping
303 new client connections too easily.
305 2009-11-24: Release version 2.33
307 * 'mogadm fsck status' will now be more accurate.
309 * Support non-GNU df (paul armstrong)
311 * Remove old !replication command. It's in `mogadm stats` and tends
312 to kill the parent process.
314 * Force refreshing internal monitoring status every 5 minutes. Help
315 work around a potential bug where state changes are missed.
317 * Use new delete queue for tempfile culling
319 * Calculate free space from available space, not total space
322 * FSCK code has new tunables to control how aggressive it runs:
323 queue_size_for_fsck (how many fids to keep in file_to_queue table)
324 queue_rate_for_fsck (how many fids to put into the table per second)
325 the generic internal queue is now tunable:
326 internal_queue_limit (how many fids to pull out of a queue table at
327 once. old default was 500).
328 All are tunable by 'mogadm settings set'
331 * Replication will now attempt to handle over replication situations.
332 FSCK will catch over replication as a policy violation, and
333 replicate will attempt to fix it. (dormando)
334 (rarely it might need multiple fscks)
336 * Since FIDSizes is no longer used, remove it and remove gearman
337 dependency. (dormando)
339 * FSCK no longer rabidly fills the queue table. (dormando)
341 * Make storage code resilient to rare deadlocks (dormando)
343 * Add 'max_handles' config option to restart a DB connection if there
344 are too many handles to it (victori).
346 2009-10-18: Release version 2.32
348 * No changes... MFS is hard to release due to mogdeps :/
350 2009-10-18: Release version 2.31
352 * Fix create_close race condition. (pipegeek)
354 * Fix bug in reporting of available disk space.
356 * Many minor bug/documentation fixes.
358 * MySQL and Postgres installs now use BIGINT's for fid/length by
359 default. (dormando, robbat2)
361 * Accept 405 responses to MKCOL from the WebDAV server since it often
362 just means that the directory already exists. (Ask Bjørn Hansen)
364 * Fix showing domain and class in mogadm output when there's only the
365 default class in the domain (Mark Imbriaco)
367 * mogstored: pidfile support
369 * New FSCK work and error for BCNT for bad devcount values (they would
370 not otherwise be caught unless the triggered another fix).
372 2009-01-12: Release version 2.30
374 * fsck will now fix broken 'devcount' cols.
376 * schema version bump to 12, and new delete worker code to use the new
377 queue system. delete should be faster and more scalable.
379 * add server setting queue_rate_for_fsck to allow rate limiting how
380 fast the new distributed fsck creates jobs. the original default of
381 10k could utterly defeat wimpy databases.
383 * Support 0 byte files.
385 * Fix a bug where rebalance would accidentally delete copies of a fid.
387 * Create new internal queue management system, with new job
388 'JobMaster'. This greatly reduces database load and increases
389 throughput for workers using the new system.
391 * Add 'no_unreachable_tracking' config. Disables more of the old
392 replication code. Use this if you have no 1.x trackers.
394 * Add hook for alternate replication sources. Obscure, but can be
397 * Add replicate_order_final_choices hook, so multidc replication may
398 pull from the local network if one copy already exists.
400 * Fix subtle bugs in process management.
402 * Allow overriding of default classes.
404 2008-08-18: Release version 2.20
406 * One more time, and hopefully never again. No changes. META.yml
409 2008-08-18: Release version 2.19
411 * No changes except for META.yml fixes.
412 _should_ be able to upload releases without owning half of CPAN.
414 2008-08-16: Release version 2.18
416 * Add repl_use_get_port option (Brian Lynch)
418 * Remove tempfile data and rows on create_close (Chaos Wang)
420 * Don't delete files accidentally during tempfile table cleanup
422 * Specify username to run the mogstored daemon (Jonathan Share)
424 * Many spelling errors corrected.
426 * PostGres locking routines did not include the hostname for the lock
429 * RFC 2518 says we "should" use a trailing slash when calling
430 MKCOL. Some servers (nginx) appears to require it. (Spotted by
433 * Add server option 'rebalance_ignore_missing' in mogilefsd config
434 that allows the rebalance to ignore files that are already missing
435 when it tries to delete them.
437 * Fix MultipleHosts replication policy to no longer return desperate
438 devices after no longer being desperate, instead returning a state
439 which will queue for retries in the future till it can be truly
440 happy. This prevents files from being replicated to all writable
441 devs when there are two few writable hosts to satisfy the policy.
443 * Add --chmod-mountpoints option to mogautomount, in an attempt to
444 prevent mogstored machines from accidentally writing to their under-
447 * New optional argument 'startpos' to fsck_reset.
449 * Use correct per-Store port, defaulting to UNIX sockets on localhost.
451 * add --dbport option to mogdbsetup (Ask Bjoern Hansen)
453 * Fix state_change() bug that could make file_to_delete_later
454 grow unnecessarily (Radu Greab)
456 * Add Mogstored::HTTPServer::None to allow using mogstored
457 with unmanaged backend DAV servers.
459 * Add experimental cmd_edit_file. Client requires DAV MOVE and
460 partial PUT on the store to use it.
462 * make mogstored and mogilefsd use the now-bundled dependency
463 Perl modules as a last resort, unless MOGILE_NO_BUILTIN_DEPS
464 environment variable is true. this makes it easier for people
465 to use mogilefs, without dependency hell. distros/packagers
466 are expected to ignore (or scoff at) this "feature". but
467 easier for people working from tarball/svn releases. bundled
468 dependencies will be updated over time, as needed.
470 * Bring the SQLite store up to date
472 * Increase the timeouts in the test suite
474 * In the test suite, also search for mogadm in /usr/local/bin/ and
475 /usr/local/sbin (spotted by Dean Wilson)
477 * SCHEMA VERSION 10: 'replpolicy' column on 'class' table.
478 it's safe to --ignore-schema-version and run this mogilefsd
479 against an older schema. new column enables per-class
480 pluggable replication policies. it was always
481 abstract, but not easy to plugin your own alternatives.
482 see doc/pluggable-replication-policies.txt
484 * add start of a MogileFS::ReplicationPolicy::Union implementation
486 * fix crash in queryworker's create_open command, when a device
487 has its directory made on a mogile storage node (the host of
488 which is being monitored by the 'monitor' process), but the
489 device isn't registered in the devices table yet.
491 2007-07-03: Release version 2.17
493 * get_paths command now takes a pathcount option, defaulting to
494 2, instead of having a hardcoded constant of 2. This allows
495 requesting more than 2 paths to a file.
497 * make fsck log over-replicated files as policy violations. it
498 won't delete over-replicated files, though, just log
500 * Document how to test MogileFS under doc/testing.txt. You really
501 should read this if you want to use MogileFS to store your data.
503 * Add a safety check to ensure that Postgresql-8.2 or newer is used.
505 * Update mogdbsetup usage, and ensure it chooses the correct admin
506 username automatically.
508 * Document the --type option to mogdbsetup.
510 * Introduce the PostGres Store implementation. The locking system might
511 still have issues, beware of stale locks! Initial prototype by Radu
512 Greab <rg@yx.ro>, and developed heavily by Robin H. Johnson
513 <robbat2@gentoo.org>.
515 * start of support to make mogstored wrap Apache + web_dav
517 * Remove duplicated [fsck] in log output of Fsck worker.
519 * Handle HiRes gettimeofday correctly to get useful results. Arrays are
520 important. This gives us correct timing output.
522 * Handle input to log() correctly. Based on the implementation of
523 Sys::Syslog::syslog(), produces no ugly warnings, and makes sure that
524 printf stuff works nicely.
526 * The unix_timestamp function belongs to the Store, not other classes.
527 Need to add test cases for process_deletes and stats.
529 * Using NULL during an INSERT for the AUTO_INCREMENT column does not
530 work very well outside of MySQL. Pass the correct number of arguments
531 to the INSERT instead.
533 * Clean up all raw usages of UNIX_TIMESTAMP() function, in preparation
534 for database independence. If you need the unix timestamp, include the output
535 of $self->unix_timestamp directly into your query.
537 * Alter $0 so that the scripts show up as '$SCRIPTNAME' in the process
538 listing instead of '/usr/bin/perl $SCRIPTNAME'. This makes init.d
539 scripts easier to manage.
541 * make mogstored's lighttpd config use mod_status for "/", so
542 mogadm doesn't think it's dead when it previously saw a 404
543 (Justin Huff <jjhuff@mspin.net>)
545 * remove Linux::AIO support, now that Perlbal has removed it as well,
546 and because Linux::AIO support (when Perlbal then chooses
547 IO::AIO) was hanging mogstored on shutdown. so also add a
548 mogstored shutdown test (after a full daemonization of it)
550 * make Mgd::validate_dbh() re-check/ping slave dbhs as well.
551 (problem mentioned by Steven Shou <steven.shou@verizon.net>)
553 * support drive identifiers above sdz (Arjan <info@bouncetek.com>)
555 * make mogstored's iostat child process properly shutdown,
556 even when iostat binary isn't installed. (previously
557 it was stuck in a loop every 10 seconds, hoping for
558 iostat to be installed, but never respecting parent
561 * Change delete worker to use new DeviceStates interface.
563 * Fix get_paths to honor new device state of 'drain' via new
564 DeviceStates interface.
566 * use significantly less CPU when re-broadcasting around
567 iostat device utilization% to child processes. (future:
568 don't rebroadcast at all and use shared memory)
570 * slightly faster fsck (do less syscalls)
572 * efficiency: don't broadcast dup state information to children
573 (track in parent what children know already)
575 * if using Gearman::Server >= 1.09, respawn the fidsizes
578 2007-05-09: Release version 2.16
580 * BUG FIX from 2.15: partially written but never closed
581 tempfiles weren't being cleaned up properly.
583 * start to work better when compiled as a stand-alone
584 PAR all-in-one script/archive
586 2007-05-07: Release version 2.15 ("fsck/drain/rebalance")
588 * minor bug fixes and enhancements for MultipleHosts replication
589 policy. bunch of corner cases now checked with new tests.
590 now easy to write more replication policy tests in future.
592 * replication policies can now return "desperate" requests,
593 signalling that a replication reassessment should be
594 enqueued for the future, to see if things could be improved.
595 (that part's not currently implemented, but the real feature
596 and motivation is that the rebalancer now won't delete a
597 DevFID if it results in a desperate move, only an ideal move. )
599 * replication policies now can optionally return a new return
600 value of the (new) type MogileFS::ReplicationRequest, which
601 has pretty accessor names, can suggest multiple places,
602 can indicate non-ideal emergency replication decisions.
603 old plugins' return values will be transparently upgraded
604 to the equivalent new return value objects.
606 * adding new device state: "drain". it's a hybrid of "dead"
607 (in that files are migrated off it) and "readonly", it that
608 it still serves traffic... it just doesn't get new files.
609 this also introduces the new object-oriented DeviceState class,
610 and device_state($name) utility function to get the DeviceState
613 * internal code cleanup. notably, kill the old & nasty legacy
614 'find_deviceid' function which was ridiculously long and hairy.
615 the two callers are now more readable with sorts/greps/etc.
617 * make mogstored's devN/usage writing process (DiskUsage) be less
618 racy with the mogilefsd monitoring code... don't open file for
619 write... open read/write, then in one write system call, write
620 the entire file, with newline padding at end to cover old data,
621 then truncate it if necessary. should remove harmless (but scary)
622 error messages previously reported by the mogilefsd monitor
623 about zero-length usage files.
625 * new protocol commands to list/set (certain) server settings,
626 with value sanity checking (see MogileFS::Config for which
627 are settable, and with what values). needed for "enable_rebalance".
628 was partially enabled before for slave settings. also needed
629 for memcached support before, which was never possible to
630 set with mogadm, only with db tweaking.
632 * make mogilefsd fsck use new mogstored fid_sizes command, to
633 do bulk stats. speeds up fscks a ton.
635 * be robust against system clocks that go backwards between
637 http://lists.danga.com/pipermail/mogilefs/2007-April/000897.html
639 * Put gearman server in mogstored process, add worker
640 'mogstored-fidsizes' which runs as subprocess of mogstored. Add
641 side-channel command 'fid_sizes' which allows us to quickly enumerate
642 and get sizes for files across entire devices on a storage node.
644 * remove all code like $state eq "readonly", $state=~ /^dead|down$/
645 and instead convert it into specific questions on policy/traits
646 of given state, like $dev->should_put_new_files_on, or
647 $dev->should_drain_files_off. see MogileFS::DeviceState,
648 objects of which are accessed via $dev->dstate, or new
649 MogileFS::Util device_state($name) wrapper.
651 * start of rebalance support. (where replication workers, in their
652 idle time, can rearrange files to even out disk space and/or IO
653 activity on storage nodes... policy isn't hard-coded, and is
654 in fact currently random)
656 * lighttpd support in both mogilefsd and mogstored. passes test
657 suite with environment MOGSTORED_SERVER_TYPE=lighttpd set now.
659 * abstract out the HTTP server support in mogstored, so
660 mogstored isn't just a perlbal wrapper, but an anything
661 wrapper. (in particular, lighttpd and apache) mogstored still
662 exists for all its other misc admin/monitoring functions,
663 but can then manage/configure apache/lighttpd child process(es).
664 so far they're just stubbed out.
666 * split mogstored into separate files per class, rather than one
669 2007-04-24: Release version 2.10
671 * bug from earlier refactoring: changing some 'next' to 'return'
672 in MogileFS::Device's create_directory method. (thanks to
673 Justin Huff <jjhuff@mspin.net>)
675 * make sure mogdbsetup doesn't upgrade an existing table (with
676 potentially lot of data) from MyISAM to InnoDB. just warn.
677 only new tables should become InnoDB on creation. also,
678 detect InnoDB even on old MySQL 4.0.x, not just 4.1/5.0.
680 * make fsck faster by reducing number of db queries (both
681 reads and writes), though more unrelated fastness remains to
684 * make fsck_status faster (keep summary stats of evcode counts,
685 rather than doing a full GROUP BY query all the time)
687 2007-04-20: Release version 2.09
689 * filesystem checker (Fsck worker). off by default, unless
690 it's enabled via protocol. Control/monitor it with mogadm
691 in MogileFS-Utils 2.08, which needs MogileFS::Client 1.06.
693 * replication speed-up on configurations with only 1 host.
694 (replication would randomly have no suggestions before, when
695 there was only 1 target host, so replication would be rescheduled
696 until the future, when random returned a different device on
699 2007-04-17: Release version 2.08
701 * (no runtime-visible changes from 2.07)
703 * mogilefsd: remove incomplete "Checker" worker, replace with
704 incomplete "Fsck" worker.
706 * test cleanup/robustness improvements. properly skips testing when
707 testing deps not found. but searches harder for them now, too.
708 tests run under "make disttest".
710 * packaging cleanups, released using ShipIt.
715 * mogilefsd: Split Plugin::MetaData and Plugin::FilePaths into their own distributions.
717 * mogilefsd: Fix mogdbsetup to not ask empty questions.
719 * mogilefsd: command line/config file support for listening on specific IPs, also
720 support for listening on multiple IPs/ports
723 * mogstored: use XS HTTPHeaders by default, unless disabled with environment variable
725 * mogilefsd: memcache support for get_paths (see doc/memcache-support.txt)
728 * mogstored: make child processes be exec'ed (as as their own scripts, not inheriting
729 Perlbal, Linux::AIO/IO::AIO, etc baggage). so they don't own listening
730 sockets, pipes to child workers, signal handlers, etc. just a lot
731 cleaner now, and SIGTERM, SIGINT properly shut everything down now,
732 both in foreground and as daemon
735 * mogstored: this changelog is totally neglected. :/ see svn log.
737 * mogstored: make perlbal's "shutdown graceful" work, by not doing
738 sidechannel accepting ourselves (which never hung up),
739 but subclass Perlbal's TCPListener class, which does it
742 2006-12/2007-01: (2.00_05)
743 * mogilefsd: everything converted to OO API internally. old internal APIs removed.
745 * mogilefsd: be database-agnostic. Currently only works with MySQL (and
746 SQLite as a joke/demo), but Pg/Oracle coming in the future.
748 * mogilefsd: built-in I/O activity monitoring between mogstored/mogilefsd Monitor
751 * mogilefsd: much improved internal communication between worker processes
753 * mogilefsd: start of better docs
756 * mogilefsd: pidfile support (Radu Greab <radu@yx.ro>)
760 * mogilefsd: remove all old internal APIs, update everything to use new OO APIs,
761 expanding OO APIs where necessary (lots of places). so much more
762 beautifully hackable now.
764 * mogstored: kill child processes (diskusage and iostat) when being killed.
767 * mogstored: set aio threads after daemonizing. needed by Linux::AIO/IO::AIO, it seems?
770 * mogilefsd: remove non-HTTP mode ("NFS mode") from the server
773 * mogstored: refuse to start up with missing Linux::AIO/IO::AIO or broken Linux::AIO
776 * mogstored: set aio_threads as a function of number of disks
779 * mogilefsd: major refactoring/cleanup/new features ("MogileFS 2.0")
782 * mogilefsd: fix dataloss bug when the 'tempfile' table is InnoDB and the
783 server is restarted while the tempfile table is empty.
786 * mogilefsd: allow create_open to take optional fid parameter which enables you to
787 dictate which fid to use internally and to not rely on MySQL's auto_increment
790 * mogilefsd: make Mgd::get_device_summary() always return all devices, regardless
793 * mogilefsd: update all callers of get_device_summary to filter on the device
794 status, if they need to. (provided more clarity into what
795 callers' intentions were...)
797 * mogilefsd: add a new device state 'readonly' which means: it can be read from
798 from clients, it can be replicated from, but no new files can go
799 on it or be replicated onto it. and it also reaps, meaning the
800 device is fucked. the filesystem probably ate itself.
803 * mogstored: write out usage files for devices, even if they're not on their own mount point.
804 also explicitly include the '-k' flag to df, so we know they're KiB.
807 * mogstored: new config syntax and command line options