Skip to content

temp deallocate should be async #4

@yuriy-glotanov

Description

@yuriy-glotanov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions