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

2.1-rc4 vertex return wrong edges #4386

Closed
valenpo opened this issue Jun 18, 2015 · 4 comments
Closed

2.1-rc4 vertex return wrong edges #4386

valenpo opened this issue Jun 18, 2015 · 4 comments
Assignees
Labels
Milestone

Comments

@valenpo
Copy link

valenpo commented Jun 18, 2015

I'm used latest 2.1-Snapshot and getEdges return wrong edges...

for (Edge edge : graph.getVertex("#12:287").getEdges(Direction.OUT)) {
    System.out.println(edge);
}

very strange output:

e[#23:12334][#12:206-item->#13:2670]
e[#23:12336][#12:206-item->#13:2672]
e[#23:12345][#12:206-item->#13:2674]
e[#23:12359][#12:206-item->#13:2675]
e[#23:12361][#12:206-item->#13:2677]
e[#23:12375][#12:206-item->#13:2679]
e[#23:12382][#12:206-item->#13:2682]
e[#23:12397][#12:206-item->#13:2684]
e[#23:12411][#12:206-item->#13:2686]
e[#23:12420][#12:206-item->#13:2688]
e[#23:12433][#12:206-item->#13:2691]
e[#23:12442][#12:206-item->#13:2693]
e[#23:12456][#12:206-item->#13:2695]
e[#23:12472][#12:206-item->#13:2697]
e[#23:12478][#12:206-item->#13:2698]

must not be from #12:287 ???

@Laa has a link to that database

Regards
Valentin

@andrii0lomakin
Copy link
Member

Fixed after running of ridbag repair tool.

@smolinari
Copy link
Contributor

Out of curiosity and to possibly avoid the problem, what caused the discrepancy to begin with?

Scott

@lvca
Copy link
Member

lvca commented Jun 20, 2015

Some releases was affected by this bug that under high concurrency scenario could create wrong links. Event if this has been already fixed, you could have a database with wrong links. If this is the case, running the repair database --fix-ridbags console command, fixes this problem once forever.

@lvca lvca added this to the 2.0.11 milestone Jun 20, 2015
@lvca lvca added the bug label Jun 20, 2015
@smolinari
Copy link
Contributor

Thanks for the explanation.

Scott

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants