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

refactor(firedancer): create and document explicit watermark fseqs #3946

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lidatong
Copy link
Member

No description provided.

@lidatong lidatong changed the title fix(replay): use the first turbine slot to determine caught up refactor(firedancer): create and document explicit watermark fseqs Jan 14, 2025
fd_topob_tile_uses( topo, replay_tile, finalized_obj, FD_SHMEM_JOIN_MODE_READ_WRITE );
FD_TEST( fd_pod_insertf_ulong( topo->props, finalized_obj->id, "finalized" ) );

/* published - this is the minimum of Firedancer's local tower root
Copy link
Contributor

Choose a reason for hiding this comment

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

This shared state concurrency through fseqs is extremely suspicious and seems quite bug prone. Why not have the tiles pass messages via. the regular mcaches?

Copy link
Member Author

Choose a reason for hiding this comment

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

whats the concern / why bug-prone? seems to me to require a lot less code than mcache message passing and seems simpler to leverage that these are all ulongs. anyone that wants to read these watermarks just joins the fseqs

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.

2 participants