about summary refs log tree commit homepage
tag namev1.5.0 (53111d1272d4262da916bbcffd1031f46e8e00ca)
tag date2015-11-21 01:33:38 +0000
tagged byEric Wong <e@80x24.org>
tagged objectcommit 907c073738...
downloadcmogstored-1.5.0.tar.gz
cmogstored 1.5.0 - vfork, systemd, 416 codes
A bunch of minor changes; most notable is systemd-style socket
activation support.  This was easy-to-add since we've always had
socket activation support for nginx-style SIGUSR2 upgrades.

This places no link or runtime dependency on libsystemd, so the
LISTEN_FDS and LISTEN_PID environment variables may be used in other
init systems as well.  While I have my own reservations about
systemd itself, I also strongly believe in using socket activation
to prevent downtime.  Existing behavior with CMOGSTORED_FD
(used for SIGUSR2 upgrades) is now documented in the manpage and
will always supported.

We've also added vfork support for Linux systems, allowing
faster spawning of iostat if malloc is using too much memory.

Behavior changes:

Bad Range: headers return 416 responses in more cases for invalid
ranges (e.g. miscalculated ranges such as "1--1", while
completely wrong ones (lacking a "bytes=" prefix) are ignored
entirely as in nginx.

Bugfixes:

There are also some cleanups to avoid dying on OOM in more places
on weird systems which trigger OOM.  More work on this is ongoing.

Also updates to the latest gnulib.git
commit 71d39c1644762745b94e9449c45bfd716a79a5eb
("autoupdate") along with a change which fixes a memory leak when
people build from cmogstored.git using gnulib
commit c6148bca89e9465fd6ba3a10d273ec4cb58c2dbe
or later ("mountlist: add me_mntroot field on Linux machines").

This memory leak did not affect any released tarballs of cmogstored.
Note, users building from git (as opposed to the tarball) will
need gnulib commit 41d1b6c42641a5b9e21486ca2074198ee7909bd7
("mountlist: add support for deallocating returned list entries")
or later (from July 2013).

There are also various documentation updates and our mailing
list is now readable over NNTP:

  nntp://news.public-inbox.org/inbox.comp.file-systems.mogilefs.cmogstored