Hi, team, When I integrate mongodb I get this erro...
# ingestion
r
Hi, team, When I integrate mongodb I get this error: OperationFailure: Unrecognized expression '$bsonSize' mongodb version: 3.6.23
b
Hi there! It appears that $bsonSize is an aggregation operator that was introduced in MongoDb 4.4, as described here. It is used on this line of the MongoDB connector. I think this means that our connector requires Mongo 4.4 or above. We will need to update the doc here to reflect that
r
Yes, so it's not going to be compatible with versions <4.4?
b
As of today, it appears not. Maybe there's an easy way to make this compatible with earlier versions. @chilly-holiday-80781 If I recall, you'd worked on this previously. Do you know of any other gotchas preventing us from supporting earlier versions?
c
Hmm I’m not aware of this bug or any version gotchas, but I believe @miniature-tiger-96062 wrote this piece on using the $bsonSize operator. By the way @rhythmic-sundown-12093 – a couple of your credentials are exposed on this stack trace, so you may want to delete/censor it.
m
Hi all, We introduced a bsonSize aggregation recently to account for documents more that 16MB. I will take a look at how this can be supported for mongodb earlier versions and update this thread.
šŸ‘ 2
r
@chilly-holiday-80781 Thanks, I delete the log.txt