Skip to content

bug: LRU reconciliation seems to subscribe to lots more (possibly wrong) accounts than needed #910

@thlorenz

Description

@thlorenz
magicblock_chainlink::remote_account_provider::chain_laser_actor: Already subscribed to account pubkey=4MoCDrSpmY289Ner4qzn3Ts5zUgXVeTiyzoHcu2vpPrv
	2026-01-27 21:00:28.228	
2026-01-28T04:00:28.228645746Z DEBUG run{client_id=grpc:rpcpool-5}: magicblock_chainlink::remote_account_provider::chain_laser_actor: Already subscribed to account pubkey=4MoCDrSpmY289Ner4qzn3Ts5zUgXVeTiyzoHcu2vpPrv
	2026-01-27 21:00:28.228	
2026-01-28T04:00:28.228590513Z DEBUG run{client_id=grpc:helius-rpc-4}: magicblock_chainlink::remote_account_provider::chain_laser_actor: Already subscribed to account pubkey=C2bju5XFuyR9eQXAttFbYE7h2ZE9i5YhbsV7aWUeaz5G
	2026-01-27 21:00:28.228	
2026-01-28T04:00:28.228574472Z DEBUG run{client_id=grpc:rpcpool-5}: magicblock_chainlink::remote_account_provider::chain_laser_actor: Already subscribed to account pubkey=C2bju5XFuyR9eQXAttFbYE7h2ZE9i5YhbsV7aWUeaz5G
	2026-01-27 21:00:28.228	
2026-01-28T04:00:28.228537914Z DEBUG magicblock_chainlink::remote_account_provider::subscription_reconciler: Resubscribing accounts in LRU but not in pubsub count=228
	2026-01-27 21:00:28.228	
2026-01-28T04:00:28.228503609Z DEBUG magicblock_chainlink::remote_account_provider: Extra pubkeys in LRU cache not in pubsub client count=228
	2026-01-27 21:00:28.228	
2026-01-28T04:00:28.228452834Z  WARN magicblock_chainlink::remote_account_provider: User account subscription counts don't match lru_count=228 pubsub_count=229
	2026-01-27 20:59:28.232	
2026-01-28T03:59:28.232580131Z DEBUG magicblock_chainlink::remote_account_provider: Updating active subscriptions count=228

Metadata

Metadata

Assignees

Labels

P1High prioritybugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions