Project

General

Profile

Bug #6191

Implement thread safety in eventstorage service module

Added by Jan Mach 3 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Development - Database
Target version:
Start date:
01/14/2020
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

While working on #4384 I have come across several peculiar issues that have led me to conclusion, that something is amiss in the implementation of eventstorage service and generally with implementation of event database access from Flask application directly via psycopg2.

I have found out that it is indeed not implemented in thread-safe manner.


Related issues

Related to Mentat - Bug #4384: Possibility of DoS by repeating long queryClosed10/19/2018

History

#1 Updated by Jan Mach 3 months ago

  • Related to Bug #4384: Possibility of DoS by repeating long query added

#2 Updated by Pavel Kácha 3 months ago

Let’s solve by configuration+doc - if using Apache, use process based MPM, if WSGI, configure no threading.

If lack of threading bites us in the future, we’ll go for more thorough solution.

#3 Updated by Pavel Kácha 3 months ago

  • To be discussed changed from Yes to No

#4 Updated by Jan Mach 2 months ago

  • Target version changed from 2.6 to 2.7

Also available in: Atom PDF