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

Bug: Duplicates in rsbr store #18

Closed
juligasa opened this issue Sep 9, 2024 · 1 comment
Closed

Bug: Duplicates in rsbr store #18

juligasa opened this issue Sep 9, 2024 · 1 comment
Assignees

Comments

@juligasa
Copy link
Collaborator

juligasa commented Sep 9, 2024

Problem

@GaboHBeaumont Sees this panic error in the logs

Service Error: !!!
golang.org/x/exp/slices.order2CmpFunc[...](...)
    golang.org/x/[email protected]/slices/zsortanyfunc.go:299
golang.org/x/exp/slices.medianCmpFunc[...]({0x14001bfcd08?, 0x33, 0x0}, 0xb?, 0xc, 0xd, 0x140029e7648, 0x1060d8ad0)
    golang.org/x/[email protected]/slices/zsortanyfunc.go:309 +0x124
golang.org/x/exp/slices.medianAdjacentCmpFunc[...](...)
    golang.org/x/[email protected]/slices/zsortanyfunc.go:316
golang.org/x/exp/slices.choosePivotCmpFunc[...]({0x14001bfcd08, 0x33, 0x47}, 0x14000030f50, 0x14000000000?, 0x1060d8ad0?)
    golang.org/x/[email protected]/slices/zsortanyfunc.go:279 +0xb4
golang.org/x/exp/slices.pdqsortCmpFunc[...]({0x14001bfcd08, 0x33, 0x47}, 0x140029e7778, 0x105589a04?, 0x140004e2230?, 0x1060d8ad0?)
    golang.org/x/[email protected]/slices/zsortanyfunc.go:89 +0xd8
golang.org/x/exp/slices.SortFunc[...](...)
    golang.org/x/[email protected]/slices/sort.go:33
seed/backend/syncing/rbsr.(sliceStore).Seal(0x140029e7b78?)
    seed/backend/syncing/rbsr/storage.go:54 +0x94
seed/backend/syncing.syncEntities({0x1060f4870, 0x14001ad0620}, {0x14002824d50, 0x26}, {0x1060e42e0, 0x14002f31ca0}, {0x1060ffc30, 0x1400002d620}, {0x12e7e8938, 0x14005d7cfc0}, ...)
    seed/backend/syncing/syncing.go:681 +0x59c
seed/backend/syncing.(worker).sync(0x1400222c820, {0x1060f4800?, 0x14001c78140?})
    seed/backend/syncing/worker.go:211 +0x5f0
seed/backend/syncing.(worker).start(0x1400222c820, {0x1060f4800?, 0x140005ccdc0?}, 0x14000b0c3a0, 0xdf8475800)
    seed/backend/syncing/worker.go:162 +0x4d8
created by seed/backend/syncing.(Service).refreshWorkers in goroutine 761
    seed/backend/syncing/syncing.go:244 +0x328

Steps to Reproduce

We have Gabo's db and we can see if there are multiple blobs returned by the related blobs query

GaboDB.zip

Expected Behavior

Debug Info

@juligasa juligasa self-assigned this Sep 9, 2024
@juligasa
Copy link
Collaborator Author

ea9b135

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

No branches or pull requests

1 participant