[syslog-ng] [PATCH (3.4) 3/5] afmongodb: Added replicaset support.

Gergely Nagy algernon at balabit.hu
Mon Jan 16 22:06:26 CET 2012


Balazs Scheidler <bazsi at balabit.hu> writes:

> 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.

Yes, that's on my TODO list, but didn't get around to code it yet. I'll
send a patch once it's ready.

-- 
|8]



More information about the syslog-ng mailing list