Insert_multi throws operational error

Hello,

I have a python app running in spark cluster where at the end of the process documents are inserted to bucket using insert_multi. For some reason, this works about 50% of the time and the other time it throws the following error

<Key='document_id', RC=0x2E[The connection was forcibly reset by the remote host], Operational Error, Results=1, C Source=(src/multiresult.c,316), Tracing Output={"document_id": {"s": "kv:Unknown", "i": 2085400467, "b": "bucket_name", "t": 2500000}}>

I can’t seem to figure out the reason. Any help would be greatly appreciated!

Hello @cjalvara welcome to the forums.
@daschl can you assist ? Could it be a throttling issue ?