Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Replace the lastUser by user count.… #1243

Merged
merged 6 commits into from Jul 30, 2021

Conversation

Shylock-Hg
Copy link
Contributor

@Shylock-Hg Shylock-Hg commented Jul 12, 2021

The last user maybe could run simultaneously(multiple dependencies use the same variable or select branch use the same variable), so can't determine which is real last user in timeline. Although now we can't write such query in fact, but it's a potential risk, so replace it by user count.

…ltaneously, so can't determine which is real last user in timeline.
@Shylock-Hg Shylock-Hg added enhancement Type: make the code neat or more efficient ready-for-testing PR: ready for the CI test labels Jul 12, 2021
@Shylock-Hg Shylock-Hg requested a review from a team July 12, 2021 10:03
Copy link
Contributor

@CPWstatic CPWstatic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

src/executor/Executor.cpp Outdated Show resolved Hide resolved
@Shylock-Hg Shylock-Hg requested review from CPWstatic and a team July 29, 2021 06:54
@Shylock-Hg Shylock-Hg requested a review from a team July 29, 2021 07:39
@CPWstatic CPWstatic merged commit 121a2e4 into vesoft-inc:master Jul 30, 2021
@Shylock-Hg Shylock-Hg deleted the fix/variable-ref branch July 30, 2021 03:54
CPWstatic pushed a commit to CPWstatic/nebula-graph that referenced this pull request Aug 2, 2021
* Replace the lastUser by user count.The last user maybe could run simultaneously, so can't determine which is real last user in timeline.

* Fix the typo.

Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com>
CPWstatic added a commit that referenced this pull request Aug 3, 2021
* Fix the go return bad_type when the vertex without the tag (#1273)

Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com>

* fix util functions (#1277)

small delete

* Check whether index is valid at runtime (#1291)

* Check whether index is valid at runtime

* Fix failed ut

* Fix steps

* drop the used space

* Format

* Replace the lastUser by user count.… (#1243)

* Replace the lastUser by user count.The last user maybe could run simultaneously, so can't determine which is real last user in timeline.

* Fix the typo.

Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com>

* fix first plan node input var (#1298)

Co-authored-by: laura-ding <48548375+laura-ding@users.noreply.github.com>
Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com>
Co-authored-by: kyle.cao <kyle.cao@vesoft.com>
Co-authored-by: Shylock Hg <33566796+Shylock-Hg@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Type: make the code neat or more efficient ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants