Painguin | Tiến
Painguin | Tiến
Explore posts from servers
ATApache TinkerPop
Created by Painguin | Tiến on 5/8/2024 in #questions
`next(n)` with Gremlin JavaScript
First time hearing about query cache, what's that about?
17 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/8/2024 in #questions
`next(n)` with Gremlin JavaScript
Not even sure if I need pagination in my case tbh, my concern is pulling in a large amount of data in one go might break or tickle something funny. Like should I not even bother if say there're less than 10k results?
17 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/8/2024 in #questions
`next(n)` with Gremlin JavaScript
Is this only possible with submitting gremlin script? As in you can't do the same via traversal g.etc
17 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/8/2024 in #questions
`next(n)` with Gremlin JavaScript
huh, I thought next(n) gonna do something special
public IEnumerable<TEnd?> Next(int amount)
{
for (var i = 0; i < amount; i++)
yield return Next();
}
public IEnumerable<TEnd?> Next(int amount)
{
for (var i = 0; i < amount; i++)
yield return Next();
}
This look like it's just doing Next multiple time.
17 replies
JJanusGraph
Created by Painguin | Tiến on 4/24/2024 in #questions
Could not start BerkeleyJE transaction
Awesome, would definitely help me sleep sounder at night with this fix haha
28 replies
JJanusGraph
Created by Painguin | Tiến on 4/24/2024 in #questions
Could not start BerkeleyJE transaction
Anyway this fix can be available in a patch version?
28 replies
JJanusGraph
Created by Painguin | Tiến on 4/24/2024 in #questions
Could not start BerkeleyJE transaction
Okay I've got all tests to pass
28 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
Oh I think I understand how thread & interruption work in Java now. Was too used to the single threaded model from Js :))
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
No description
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
So is that behaviour still correct, since it technically did pass the test
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
Bizarre thing is the test still pass, cuz a TraversalInterruptedException was thrown. It's just that the sideEffect went through the entire graph.
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
sorry my knowledge around this is very limited so might be asking dumb question lol
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
Well it look like each traversal was completed without being interrupted? Hence it's going through the whole graph.
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
How do you mean by this?
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
I'm adding interupttion support
37 replies