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

feat(blockstore): para shred pool / map and slice (entry batch) exec #4048

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

lidatong
Copy link
Member

No description provided.

@lidatong lidatong force-pushed the chali/feat/blockstore-para branch 5 times, most recently from d7fa911 to ac06302 Compare January 30, 2025 21:32
@@ -204,6 +204,7 @@ fd_acc_mgr_modify_raw( fd_acc_mgr_t * acc_mgr,
fd_int_store_if( !!opt_err, opt_err, FD_ACC_MGR_ERR_UNKNOWN_ACCOUNT );
return NULL;
}
__asm__("int $3");
Copy link
Contributor

Choose a reason for hiding this comment

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

remove?

@lidatong lidatong force-pushed the chali/feat/blockstore-para branch 9 times, most recently from c1fd55e to c77a4a4 Compare February 2, 2025 23:27
@@ -585,12 +586,13 @@ unprivileged_init( fd_topo_t * topo,
strcmp( topo->links[ tile->out_link_id[ REPLAY_OUT_IDX ] ].name, "store_replay" ) ||
strcmp( topo->links[ tile->out_link_id[ REPAIR_OUT_IDX ] ].name, "store_repair" ) ) )
FD_LOG_ERR(( "store tile has none or unexpected output links %lu %s",
tile->out_cnt, topo->links[ tile->out_link_id[ 0 ] ].name ));
tile->out_cnt, topo->links[ tile->out_link_id[ 0 ] ].name ));;
Copy link
Contributor

Choose a reason for hiding this comment

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

extra ;

int err = FD_MAP_ERR_AGAIN;
while( err == FD_MAP_ERR_AGAIN ) {
fd_buf_shred_map_query_t query[1] = { 0 };
err = fd_buf_shred_map_query_try( blockstore->shred_map, &key, NULL, query );
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you also need to check here for FD_MAP_ERR_KEY etc, or else the following lines would segfault if the shred wasn't in the map.

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch

@lidatong lidatong force-pushed the chali/feat/blockstore-para branch 2 times, most recently from 7408543 to ed04be5 Compare February 6, 2025 17:47
@lidatong lidatong changed the title feat(blockstore): para shred pool and map feat(blockstore): concurrency Feb 6, 2025
@lidatong lidatong force-pushed the chali/feat/blockstore-para branch 5 times, most recently from ee73764 to 8408baf Compare February 6, 2025 19:39
@lidatong lidatong changed the title feat(blockstore): concurrency feat(blockstore): para shred pool / map and slice (entry batch) execution Feb 6, 2025
@lidatong lidatong force-pushed the chali/feat/blockstore-para branch from 8408baf to 1291ff9 Compare February 6, 2025 19:58
@lidatong lidatong changed the title feat(blockstore): para shred pool / map and slice (entry batch) execution feat(blockstore): para shred pool / map and slice (entry batch) exec Feb 6, 2025
@lidatong lidatong force-pushed the chali/feat/blockstore-para branch from 1291ff9 to 5aea39c Compare February 6, 2025 20:01
@lidatong lidatong force-pushed the chali/feat/blockstore-para branch 2 times, most recently from 030f411 to fbbe91e Compare February 6, 2025 20:19
@lidatong lidatong force-pushed the chali/feat/blockstore-para branch from fbbe91e to 8533b0a Compare February 6, 2025 20:29
@ibhatt-jumptrading ibhatt-jumptrading added this pull request to the merge queue Feb 6, 2025
Merged via the queue into main with commit 164090a Feb 6, 2025
11 checks passed
@ibhatt-jumptrading ibhatt-jumptrading deleted the chali/feat/blockstore-para branch February 6, 2025 22:00
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.

3 participants