| От | Andrew Chernow |
|---|---|
| Тема | Re: parallel restore vs. windows |
| Дата | |
| Msg-id | 493DEF8C.2030001@esilo.com обсуждение исходный текст |
| Ответ на | Re: parallel restore vs. windows (Andrew Chernow <ac@esilo.com>) |
| Список | pgsql-hackers |
>>> >>> Are these threads sharing memory, intentionally or by mistake? >> >> >> Things they write, and things they read but might not be stable, are >> not supposed to be shared. If they are it's a mistake. >> > > Looks like the ArchiveHandle variable 'AH' and the TocEntry > 'next_work_item' are not being deep copied at line 315 of your patch, > where you prepare the RestoreArgs struct for the thread. Every thread > is accessing and possibly updating the members of these structs that > need to be deep copied. > Forgot something, the prestore function leaks the RestoreArgs struct. -- Andrew Chernow eSilo, LLC every bit counts http://www.esilo.com/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера