Skip to content

chore: remove Name_IPNISync from PingHealthFuncs - #1482

Open
beck-8 wants to merge 1 commit into
mainfrom
chore/remove-ipni-from-ping
Open

beck-8 wants to merge 1 commit into
mainfrom
chore/remove-ipni-from-ping

Conversation

@beck-8

@beck-8 beck-8 commented Aug 31, 2026

Copy link
Copy Markdown
Member

No description provided.

@beck-8
beck-8 requested review from a team and ZenGround0 as code owners August 31, 2026 05:20
@FilOzzy FilOzzy added this to FOC Aug 31, 2026
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Aug 31, 2026
@FilOzzy FilOzzy moved this from 📌 Triage to 🔎 Awaiting review in FOC Aug 31, 2026

@LexLuthr LexLuthr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we dropping IPNI from health check?

@github-project-automation github-project-automation Bot moved this from 🔎 Awaiting review to ⌨️ In Progress in FOC Aug 31, 2026
@beck-8

beck-8 commented Sep 1, 2026

Copy link
Copy Markdown
Member Author

@LexLuthr
Given that cid.contact fixed the cache problem yesterday. So I can say it here now.

if ipni is slow or has a cache problem, it will cause all SP pdp/ping 503, which is similar to an attack. So remove this part of the check from /pdp/ping.

@LexLuthr LexLuthr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not as simple as just removing code to get rid of 503. This is a product decision. Either we stop caring about IPNI or we do. Either case this needs a much bigger buy-in as it has direct impact on FoC product.

@beck-8

beck-8 commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

There is no lack of attention here, but the alarm reminder of downgrade to SP. Of course, there are indeed many people who have not configured the alarm.

When I asked this question, I simulated this kind of attack. The cache of IPNI was triggered, and then the two nodes of my test network could not provide external services.

I think we should pay asynchronous attention, and IPNI should not be allowed to block customers from using it here. I'm happy to receive more opinions.

@BigLep

BigLep commented Sep 4, 2026

Copy link
Copy Markdown
Member

@beck-8 : I'm missing some of the context here. You mentioned a cache problem in FilOzone/filecoin-services#369 (comment). Where do I read more about this?

Is your cocnern that if cid.contact is down for a sustained period of time, then that will make it so all PDP SPs fail their health check and thus stop taking on deals?

I think it will help if you elaborate on the failure scenarios you are worried about. I think you could also outline the pros and cons of this code change or the existing system.

@beck-8

beck-8 commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

@beck-8

beck-8 commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

If this abnormal caching issue occurs again, or if IPNI runs slowly for more than 1 hour (/provider does not refresh), this problem will cause all SP health checks to return a 503 error.

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

Successfully merging this pull request may close these issues.

4 participants