Re: ParallelContexts can get confused about which worker is which

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: ParallelContexts can get confused about which worker is which
Дата
Msg-id CA+TgmoZPf9U4C1CPQoTXbHQyK-BUX0bRqatWTMgT4khYA7a1Gw@mail.gmail.com
обсуждение исходный текст
Ответ на ParallelContexts can get confused about which worker is which  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: ParallelContexts can get confused about which worker is which  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On Fri, Oct 30, 2015 at 11:24 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> The other way to fix this is to pass down the index
> that the leader assigns to any given worker, and have the worker use
> that index instead of allocating its own separate index after
> connecting to the DSM segment.  Unfortunately, there's not really a
> good way to pass that additional information down to the worker right
> now, but we could fix that pretty easily by adding an additional field
> to the BackgroundWorker structure, which the worker would then be able
> to access via MyBgworkerEntry.

Here's a patch implementing that.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: September 2015 Commitfest
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: New gist vacuum.