Use of Playback Directory command

Open
#11 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
networking

Research direction

Start by reproducing the Playback Directory command with a concurrency limit of 7 and a directory containing 10 files, then trace how queued files and transaction-completion events are handled. Done means files beyond the initial seven wait for available transaction slots and all 10 files are downlinked without failed attempts being permanently lost.

Written by the indexing model from the issue text.

Description

docs question

I'd expect the Playback Directory command to function like the following. Assume 7 is the maximum number of transactions that can be occurring simultaneously and that the directory we're attempting to playback has 10 files in it:

  • All of the files in the directory get queued.
  • Transactions are started for 7 files, at which point the maximum number of transactions is reached.
  • Once 1 transaction finishes, CF reads from the queue and starts a transaction for the 8th file.
  • Continue until the entire directory has been downlinked.

However, during our testing the command is functioning like the following:

  • All of the files in the directory get queued.
  • Transactions are successfully started for 7 files, at which point the maximum number of transactions is reached.
  • CF also attempts to start transactions for the remaining 3 files at the same time, but they error out since we're at the maximum number of transactions. The remaining files are never downlinked.

I'm not sure if we're misunderstanding how the command is intended to be used or if there is a bug.

Dominant language
C
Stars
123
Forks
82
Avg merge
2d 22h
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nasa/CF

All issues in nasa/CF

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.