Skip to content

Commit

Permalink
FMWK-644-udf-index-backup-xdr
Browse files Browse the repository at this point in the history
- added comment
  • Loading branch information
filkeith committed Jan 15, 2025
1 parent e9552c9 commit d3d36be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions porcessor_file_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ func newEncryptionReader(
// distributeFiles is only used for asbx restore, to follow the order of files.
// All files myst be sorted with util.SortBackupFiles first.
// Then they will be distributed over workers according to its prefix and in order according to its suffix.
// Valid file name: <prefix>_<namespace>_<suffix>.asbx
// Example: 4_source-ns1_47.asbx
func distributeFiles(input chan models.File, output []chan models.File, errors chan<- error) {
if len(output) == 0 {
errors <- fmt.Errorf("failed to distibute files to 0 channels")
Expand Down

0 comments on commit d3d36be

Please sign in to comment.