You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2020/05/18 21:06:00 UTC

[jira] [Assigned] (BEAM-9960) Python MongoDBIO fails when response of split vector command is larger than 16mb

     [ https://issues.apache.org/jira/browse/BEAM-9960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kenneth Knowles reassigned BEAM-9960:
-------------------------------------

    Assignee: Corvin Deboeser

> Python MongoDBIO fails when response of split vector command is larger than 16mb
> --------------------------------------------------------------------------------
>
>                 Key: BEAM-9960
>                 URL: https://issues.apache.org/jira/browse/BEAM-9960
>             Project: Beam
>          Issue Type: Bug
>          Components: io-py-mongodb
>    Affects Versions: 2.20.0
>            Reporter: Corvin Deboeser
>            Assignee: Corvin Deboeser
>            Priority: P2
>
> When using MongoDBIO on a large collection with large documents on average, then the split vector command results in a lot of splits if the desired bundle size is small. In extreme cases, the response from the split vector command can be larger than 16mb which is not supported by pymongo / MongoDB:
> {{pymongo.errors.ProtocolError: Message length (33699186) is larger than server max message size (33554432)}}
>  
> Environment: Was running this on Google Dataflow / Beam Python SDK 2.20.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)