Skip to content

Conversation

@ripatel-fd
Copy link
Contributor

No description provided.

@ripatel-fd ripatel-fd force-pushed the ripatel/snapshot-tiles branch from fd600ba to 10a9577 Compare April 25, 2025 21:22
if( FD_UNLIKELY( tile->out_cnt!=1UL ) ) FD_LOG_ERR(( "tile `" NAME "` has %lu outs, expected 1", tile->out_cnt ));

ctx->fd = open( tile->filerd.file_path, O_RDONLY|O_CLOEXEC );
if( FD_UNLIKELY( ctx->fd<0 ) ) FD_LOG_ERR(( "open() failed (%i-%s)", errno, fd_io_strerror( errno ) ));
Copy link
Contributor

Choose a reason for hiding this comment

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

This is going to be a very frequently hit operator facing error. Please add a long error message describing the problem when errno is ENOENT.

@ripatel-fd ripatel-fd force-pushed the ripatel/snapshot-tiles branch from 10a9577 to 44ee4e5 Compare May 3, 2025 17:43
extern fd_topo_run_tile_t fd_tile_bencho;
extern fd_topo_run_tile_t fd_tile_benchg;
extern fd_topo_run_tile_t fd_tile_benchs;
extern fd_topo_run_tile_t fd_tile_snapshot_restore_FileRd;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you just name these the same as everything else? Pick something 6 characters, so it can be the same name across everywhere (tile code, GUI, monitor, ...)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let's please do the hard part first (write the actual feature), you can rename them later

Copy link
Contributor

Choose a reason for hiding this comment

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

The hardest part is naming things :)

@ripatel-fd ripatel-fd closed this May 26, 2025
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