Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

切换两次Space的时候会导致Space为空 #64

Open
btbox opened this issue Oct 25, 2022 · 2 comments
Open

切换两次Space的时候会导致Space为空 #64

btbox opened this issue Oct 25, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@btbox
Copy link

btbox commented Oct 25, 2022

  • 在我第一条语句的没有使用use space的时候,默认会去查找配置文件中的nebula.space 属性
FETCH PROP ON edge_collect_weixin '123' YIELD vertex AS v
  • 第二条语句使用了use space的时候,会切换成我的space
USE ${spaceName};
INSERT EDGE aaa....
  • 当我在去使用第一条语句的时候,我发现,没有使用图空间了
    image
@CorvusYe CorvusYe added the bug Something isn't working label Oct 25, 2022
@CorvusYe
Copy link
Collaborator

本地会话记录了上次使用的图空间,这个记录值使用的是 yml / mapper 标签 / 子标签的 space 属性。
如果本次运行跟上次的图空间不同才会进行切换。但是写在 nGQL 当中的空间切换没捕捉到。
就产生了这个 bug... 大意了,还是没支持好

CorvusYe added a commit to CorvusYe/ngbatis that referenced this issue Oct 25, 2022
CorvusYe added a commit that referenced this issue Oct 25, 2022
fix: #64 by update current space from custom nGQL
@CorvusYe CorvusYe reopened this Oct 25, 2022
@wey-gu wey-gu added upstream bug bug Something isn't working and removed bug Something isn't working upstream bug labels Oct 25, 2022
@btbox btbox mentioned this issue Nov 2, 2022
CorvusYe added a commit that referenced this issue Nov 7, 2022
enhanced: #64 [debug log] print current space in session before switch
@wey-gu
Copy link
Member

wey-gu commented Nov 16, 2022

fixed in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants