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

ttl not working for reversely and bidirect query #2008

Closed
jude-zhu opened this issue Mar 27, 2020 · 1 comment
Closed

ttl not working for reversely and bidirect query #2008

jude-zhu opened this issue Mar 27, 2020 · 1 comment
Assignees
Labels
priority/med-pri Priority: medium type/bug Type: something is unexpected

Comments

@jude-zhu
Copy link
Contributor

jude-zhu commented Mar 27, 2020

I upgrade RC4 from RC3 (with RC3 data)
edgetype created in RC3

> describe edge follow
=================
| Field  | Type |
=================
| degree | int  |
-----------------

And insert an edge

> INSERT EDGE follow(degree) VALUES 100 -> 101:(95);

After upgradign to RC4, set a ttl

> alter edge follow ttl_col = "degree", ttl_duration = 1585310840

after expiration, go from 100 over follow yield follow.degree returns no items. However

> go from 100 over follow
===============
| follow._dst |
===============
| 101         |
---------------

> go from 101 over follow reversely
===============
| follow._dst |
===============
| 100         |
---------------

> go from 100 over follow bidirect
===============
| follow._dst |
===============
| 101         |
---------------

After I Triggering Compaction Manually, it works fine

> go from 100 over follow bidirect
Execution succeeded (Time spent: 4.397/5.383 ms)

> go from 100 over follow yield follow.degree
Execution succeeded (Time spent: 2.701/4.085 ms)

> go from 100 over follow
Execution succeeded (Time spent: 4.367/5.856 ms)
@panda-sheep
Copy link
Contributor

fixed in pr 2012

yixinglu pushed a commit to yixinglu/nebula that referenced this issue Jan 31, 2023
* Fix checking update filter expression.

* Resolve conflict.

Co-authored-by: shylock <33566796+Shylock-Hg@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/med-pri Priority: medium type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

2 participants