Subject: Re: [Firebird-devel] [FB-Tracker] Created:
(CORE-5419) Index garbage collection on varchar
column causes server to hang



On 01/11/17 13:16, Vlad Khorsun wrote:
> Hi all,
>
> I tried it on Windows and here is my observations:
> - SuperServer have no problem
>
> - for Classic and SuperClassic problem is confirmed
> of course, operations with another DB's are not affected
>
> - the reason is that attachment doing garbage collection doesn't react on
> AST's:
> yes, it calls JRD_reshedule and checkouts from engine, but concurrent
> thread (with AST pending) doesn't get control
> when i changed THREAD_YIELD() by THREAD_SLEEP(0) - it changes nothing
> when i changed THREAD_YIELD() by THREAD_SLEEP(1) - it fixed the issue
>
> I'm not sure it is best possible fix. I don't know if it helps on Linux.
> Opinions ?


Vlad, I can not reproduce initial issue in master branch on linux.
GC does not affect ability to connect to database and execute simple
queries.


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Programming list archiving by: Enterprise Git Hosting