[syslog-ng] [PATCH (3.4) 0/5] afmongodb cleanups & replica set support

Gergely Nagy algernon at balabit.hu
Tue Jan 3 01:55:28 CET 2012


Following this email, a few patches will come, various minor touch-ups
(such as the cleanup of the default value-pairs config, and the removal
of the TODO file) and replica-set support for afmongodb.

The replica-set support is an incompatible change compared to 3.3, as
it removes the host() and port() options from the driver, replacing both
with a servers() option.

After the patches, the driver will support replica sets, which means
that when connecting to a replica set, and the primary goes down, the
driver will reconnect to the new master automatically.

Most of this is handled transparently by the underlying libmongo-client
library, so the syslog-ng side doesn't actually get much more complicated.

These patches have been sitting in my syslog-ng module collection repo
since about july, and I kinda forgot about them. It's about time I submit
them.

(And consequently, the module-collection repo will be abandoned, as it
pretty much has been for the past few months anyway. Turns out it's
easier for me to maintain module updates within my syslog-ng repo,
especially now that I have 3.3 and 3.4 within the same git repo.)

All of these are available from the feature/3.4/afmongodb/lmc-sync branch
of my git repository.



More information about the syslog-ng mailing list