Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

RPC program account subscription notifications are unreliable #9909

Closed
jstarry opened this issue May 7, 2020 · 4 comments
Closed

RPC program account subscription notifications are unreliable #9909

jstarry opened this issue May 7, 2020 · 4 comments

Comments

@jstarry
Copy link
Contributor

jstarry commented May 7, 2020

Problem

Program account notifications are lossy and inconsistent because subscriptions specify a specific confirmation level and will only be notified when the RPC pubsub service observes a slot at that confirmation level where the account has been modified.

This is lossy for a number of reasons: async races, votes that include more than one block, slow consensus / network partitions.

Proposed Changes

TBD

Related to: #9833

@jstarry jstarry added this to the The Future! milestone May 7, 2020
leoluk pushed a commit to wormhole-foundation/wormhole that referenced this issue Jan 21, 2021
This mitigates solana-labs/solana#9909 by
polling GetProgramAccounts with a server-side filter. It also removes
the agent dependency for the lockup observation logic - the agent is now
used for transaction construction only.
@stale
Copy link

stale bot commented Jun 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Jun 2, 2021
@stale
Copy link

stale bot commented Jun 18, 2021

This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Jun 18, 2021
@leoluk leoluk reopened this Jun 19, 2021
@stale stale bot removed the stale [bot only] Added to stale content; results in auto-close after a week. label Jun 19, 2021
@jstarry
Copy link
Contributor Author

jstarry commented Sep 16, 2021

I believe this was fixed in #18827

@jstarry jstarry closed this as completed Sep 16, 2021
@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants