vesoft-inc/nebula

Session expire on graphd will end up floating session being released

Open

#5,094 opened on Dec 22, 2022

View on GitHub
 (10 comments) (0 reactions) (2 assignees)C++ (1,144 forks)batch import
affects/nonehelp wantedlaterseverity/minortype/bug

Repository metrics

Stars
 (9,828 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

This is an issue talked about in WeChat Group:Earth, synced msg was pasted in the end of the issue.

It seems in current idle-release session mechanism was monitored and triggered in each graphD, that is, when a session(session-id:foo) was floated from graphd0 to graphd1, and will be actively used in graphd1 and not caming back to graphd0, after idle session timer expires in graphd0, foo will be released from graphd0.

I am on GitHub mobile(don't have access to the code to verify this)due to Covid leave, so just quickly track the issue here.

Plz forgive my unchecking of the code before raising this.

cc @Aiee

ref:

Contributor guide