Project

General

Profile

Bug #10579

Do not reuse requests session between Core components (separate processes)

Added by Evgeny Novikov 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Immediate
Category:
Infrastructure of Core
Target version:
Start date:
11/16/2020
Due date:
% Done:

0%

Estimated time:
Detected in build:
git
Platform:
Published in build:

Description

At the moment the same session object is used by at least two Core components represented by separate processes. Though, the corresponding memory is copied somehow, but it still does not guarantee that requests are handled well. There are corresponding bug reports, e.g. here, and the reasonable advice is to create sessions after forking.

Maybe this will help to get rid of the workaround that we developed to handle so called ZIP errors, i.e. when Bridge should receive archives within requests from Core, but it finds out that they are broken. In this case Core infinitely resends such request and I guess that after a second attempt everything is okay (but I did not evaluate that ever).

History

#1

Updated by Evgeny Novikov about 2 months ago

  • Status changed from New to Closed

I did this in branch separate-sessions-for-processes. The branch passed tests, so I merged it to master in a36baebc7.

Also available in: Atom PDF