Project

General

Profile

Actions

Bug #6191

open

Implement thread safety in eventstorage service module

Added by Jan Mach over 1 year ago. Updated 5 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 queryClosedJan Mach10/19/2018

Actions
Actions #1

Updated by Jan Mach over 1 year ago

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

Updated by Pavel Kácha over 1 year 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.

Actions #3

Updated by Pavel Kácha over 1 year ago

  • To be discussed changed from Yes to No
Actions #4

Updated by Jan Mach over 1 year ago

  • Target version changed from 2.6 to 2.7
Actions #5

Updated by Jan Mach about 1 year ago

  • Target version changed from 2.7 to 2.8
Actions #6

Updated by Jan Mach about 1 year ago

  • Target version changed from 2.8 to Backlog
Actions #7

Updated by Pavel Kácha about 1 year ago

  • Target version changed from Backlog to Future
Actions #8

Updated by Pavel Kácha 5 months ago

  • Assignee deleted (Jan Mach)
Actions

Also available in: Atom PDF