[syslog-ng] [PATCH (3.4) 3/5] afmongodb: Added replicaset support.
Balazs Scheidler
bazsi at balabit.hu
Mon Jan 16 21:39:53 CET 2012
On Tue, 2012-01-03 at 01:55 +0100, Gergely Nagy wrote:
> The servers can now be specified with a server() parameter, where the
> first will be the primary (used in the stats for example), the rest
> will be the seeds.
>
> Signed-off-by: Gergely Nagy <algernon at balabit.hu>
> ---
> modules/afmongodb/afmongodb-grammar.ym | 4 +-
> modules/afmongodb/afmongodb-parser.c | 4 +--
> modules/afmongodb/afmongodb.c | 53 ++++++++++++++++++++++++--------
> modules/afmongodb/afmongodb.h | 3 +-
> 4 files changed, 44 insertions(+), 20 deletions(-)
I'm applying this, but can you please make this backward compatible? You
can even make the old options deprecated and the new ones appear only in
"@version: 3.4" mode.
People will use the mongodb driver in 3.3 too and I wouldn't like to
break their environment.
Thanks.
--
Bazsi
More information about the syslog-ng
mailing list