: { clusterTime: Timestamp(1519379980,
1), signature: { hash: BinData(0,
), keyId: 0 } } }. Unrecognized
field 'table_version'.code
codeNameFailedToParseoperationTimeZ$clusterTimeXclusterTimeZsignature3hashkeyId
Kind regards,
Stephane
On 23 Febru
Hello,
I made some additional tests.
The problem is only present when kamailio is facing mongo release 3.2 (or
higher).
With mongo version 3.0 (or lower), the request sent by kamailio is
different: it contains $query and $table_version elements and mongo accepts
it.
Kind regards,
Stephane
On 23
Hello Daniel,
You will find two pcap files in attachment. I am using the same mongoc
library version in both cases.
Let me know if you need more info.
Kind regards,
Stephane
On 27 February 2018 at 09:01, Daniel-Constantin Mierla
wrote:
> Hello,
>
> can you send here the request
ne with a mongo server version 3.0.15.
Kind regards,
Stephane
On 28 February 2018 at 15:25, Daniel-Constantin Mierla
wrote:
> Hello,
>
> I see in the pcap that the returned error contains:
>
> Failed to parse: { find: "version", filter: { table_name: &q
4f640
>
> If possible, test it with both mongo server versions and if works fine
> with both, then I am going to backport.
>
> Cheers,
> Daniel
>
> On 28.02.18 18:49, Stephane wrote:
>
> Hello Daniel,
>
> I tried with mongoc 1.8.0 (the trace I have sent) and also mo
query
Kind regards,
Stephane
On 1 March 2018 at 12:58, Daniel-Constantin Mierla
wrote:
> Hello,
>
> thanks for testing -- the new error was on matching returned columns, as
> now they are stored in the projection field document.
>
> I just pushed a new patch, can you try again
Thanks very much Daniel !
This is working now, with both mongo server versions.
Kind regards,
Stephane
On 1 March 2018 at 14:31, Daniel-Constantin Mierla
wrote:
> Hello,
>
> indeed, it was a similar case in another function. Can you fetch again
> master and try?
>
> Cheer
00), keyId: 0 } } } numYields:0
reslen:531 locks:{} protocol:op_msg 0ms
2018-02-22T17:13:02.605+0100 I NETWORK [conn90] end connection
10.0.12.180:56320 (9 connections now open)
I probably miss something: it is not clear to me why kamailio is not able
to retrieve the value of table_version for the table_name location. Any
idea would be very welcome !
I use mongo-c-driver 1.9.2 and mongodb 3.6
Thank you.
Stephane
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users