You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* associate list of both app files and redundancy files with calling process */
if (shuffile_create(comm_world, comm_store, count, filenames2, shuffile_file) !=SHUFFILE_SUCCESS) {
/* failed to register files with shuffile */
rc=ER_FAILURE;
}
To do that, we need to be able to list the files in the redset. The redset_filelist_get function only returns redundancy encoding files. We will need to add a new function to redset to return the full file list: user files + redundancy files.
The text was updated successfully, but these errors were encountered:
The shuffile file is not correctly restored after rebuilding lost files. It should contain a list of files owned by the rank:
But after a rebuild, it only consists of:
The shuffile file is not part of the set of files protected by the redundancy encoding, so it needs to be restored independently.
It could be reconstructed by reading the list of files from the redset after it has succeeded and before deleting it here:
er/src/er.c
Lines 737 to 741 in 9e88b5b
The simplest approach would be to just recreate the shuffile file on every rank (even those where it already exists) by calling
shuffile_create
again:er/src/er.c
Lines 683 to 687 in 9e88b5b
To do that, we need to be able to list the files in the redset. The
redset_filelist_get
function only returns redundancy encoding files. We will need to add a new function to redset to return the full file list: user files + redundancy files.The text was updated successfully, but these errors were encountered: