interference
interference copied to clipboard
temp deallocate should be async
Describe the bug Execute of sql statement produce some amount of temporary frames, from which sql cursor may retrieve data until commit, After commit we start deallocate of these frames, and user session thread wait until deallocate was completed. This is not good.
To Reproduce
Expected behavior Need to implements async deallocate procedure, which should be start after commit. This procedure should be contain additional checks for completely deallocate in case of shutdown/restart.