pgAgent commit: Fixed an issue - when two jobs starts at the same time,

Поиск
Список
Период
Сортировка
От Ashesh Vashi
Тема pgAgent commit: Fixed an issue - when two jobs starts at the same time,
Дата
Msg-id E1k53au-0006yI-F8@gothos.postgresql.org
обсуждение исходный текст
Список pgadmin-hackers
Fixed an issue - when two jobs starts at the same time, and sometime -
it ends up creating the same name as random string used as temporary
directory, and because - they were fetched at the same time, the
implemnetation does not find that directory exists.

In order to solve the issue - we will be using the job_id and step_id
as the prefix along with the random string while generating the
temporaty directory name. That will guarantee that the directory does
not exist at that time.

Reviewed: Neel Patel <neel.patel@enterprisedb.com>

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgagent.git;a=commitdiff;h=d4abe962a3131e48dd7f43542c5a91331b4aa92f
Author: Dave Page <dpage@pgadmin.org>

Modified Files
--------------
job.cpp | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: Re: WIP: SQL Formatter
Следующее
От: Aditya Toshniwal
Дата:
Сообщение: [pgAdmin][RM5526] Copy and paste multiline cells