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

Investigate odd missing relationships during initial syncs #91

Open
vegu opened this issue Jun 27, 2024 · 1 comment
Open

Investigate odd missing relationships during initial syncs #91

vegu opened this issue Jun 27, 2024 · 1 comment
Labels
bug Minor Up to 4 hours

Comments

@vegu
Copy link
Contributor

vegu commented Jun 27, 2024

peeringdb -C . sync --fetch-private
Syncing to https://www.peeringdb.com/api
[org] Fetching from remote cache
[org] Processing 28576 objects
[campus] Fetching from remote cache
[campus] Processing 52 objects
[fac] Fetching from remote cache
[fac] Processing 5439 objects
Fetching dangling relationship Campus 14
Fetching dangling relationship Campus 93
Fetching dangling relationship Campus 60
Fetching dangling relationship Campus 68
Fetching dangling relationship Campus 64
[net] Fetching from remote cache
[net] Processing 30698 objects
Fetching dangling relationship Organization 30220
Fetching dangling relationship Organization 30281
[ix] Fetching from remote cache
[ix] Processing 1197 objects
[carrier] Fetching from remote cache
[carrier] Processing 179 objects
[carrierfac] Fetching from remote cache
[carrierfac] Processing 2970 objects
Fetching dangling relationship Facility 921
Fetching dangling relationship Facility 471
Fetching dangling relationship Facility 4490
Fetching dangling relationship Facility 10524
Fetching dangling relationship Facility 13740
Fetching dangling relationship Facility 1815
Fetching dangling relationship Facility 14685
Fetching dangling relationship Facility 14680
Fetching dangling relationship Facility 14681
[ixfac] Fetching from remote cache
[ixfac] Processing 3729 objects
[ixlan] Fetching from API (private)
[ixlan] Processing 1197 objects
[ixpfx] Fetching from remote cache
[ixpfx] Processing 2322 objects
Fetching dangling relationship InternetExchangeLan 3323
Fetching dangling relationship InternetExchange 3323
[netfac] Fetching from remote cache
[netfac] Processing 50542 objects
[netixlan] Fetching from remote cache
[netixlan] Processing 54948 objects
[poc] Fetching from API (private)
[poc] Processing 51677 objects

The campus objects can be explained by being referenced while pending (a single facility contained and referencing the campus). The Organization, Facilities and IXLans however should be looked at.

It might be stale data referencing deleted objects.

Confirmed that this happens with and without the public cache enabled.

@vegu vegu added bug Minor Up to 4 hours labels Jun 27, 2024
@jackcarrozzo
Copy link

+1

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

No branches or pull requests

2 participants