Monitoring Binaries Tasks

Track binary transfer progress, failures, and lifecycle states between Federation members.

Binaries tasks track asynchronous binary transfers between Federation members.

Access Binaries Tasks

To access Binaries Tasks:

  1. Open Federation Dashboard.
  2. Select a repository to view connection states.
  3. Select a specific member connection.
  4. Review the binaries tasks panel.

Binaries Tasks Indicators

The following table describes the binaries tasks indicators.

IndicatorDescription
In ProgressNumber of active binary transfers
FailedNumber of failed binary transfers

Binary Task Lifecycle States

Binary tasks transition through the following states during processing.

StatusDescription
AVAILABLETask is queued and waiting for a storage handler to pick it up.
IN_PROGRESSHandler is downloading from source or uploading to target.
COMPLETEDBinary transferred successfully.
DELETEDTask is marked for deletion after successful completion.
EXHAUSTED_SUBMISSIONMaximum retries when submitting to Artifactory are exceeded. Use the Replay Failed Binary Tasks API.
EXHAUSTED_STORAGEMaximum retries for storage operations are exceeded. Use the Replay Failed Binary Tasks API.
REJECTEDTarget Artifactory rejected the binary due to validation or policy checks. Review rejection details in logs.

For state machine diagrams and full details, see Member State Reference.

How Binary Task Processing Works

  1. A metadata event references a binary SHA.
  2. Target member checks local binary presence.
  3. Missing binary creates a task.
  4. Task handler fetches from source and transfers to target.
  5. Success marks task complete. Failures retry up to configured limits.

Key Tuning Properties

The following table lists key properties for tuning binary task handling.

PropertyDefaultDescription
rtfs.binary.tasks.max.retry.per.task10Max retries per task
rtfs.binary.tasks.handler.tenants.thread.pool.size100Worker pool size
rtfs.binary.tasks.handler.fetch.limit.per.tenant500Max tasks fetched per tenant run
rtfs.binary.tasks.inbound.insert.batch.size500Insert batch size
rtfs.binary.tasks.handler.initial.delay.durationPT1MInitial delay before handler starts
rtfs.binary.tasks.handler.run.durationPT1SHandler run interval

Troubleshooting Signals

High In-Progress Count

  • Usually indicates heavy transfer load.
  • Validate network throughput between members.
  • Consider increasing worker pool size.

High Failed Count

  • Validate member connectivity and credentials.
  • Verify source binary availability.
  • Review RTFS logs and retry configuration.

Tasks Not Progressing

  • Confirm task handler is running.
  • Check queue penalties and retry state.
  • Trigger manual recovery or Full Sync if needed.

Frequently Asked Questions

This section provides answers to frequently asked questions about Binaries Tasks.

plusFAQs
Q: How do I view binaries tasks for a Federated repository?

A: Open the Federation Dashboard, select a repository to view connection states, select a specific member connection, then review the binaries tasks panel. See Access Binaries Tasks for details.

Q: What is the difference between EXHAUSTED_SUBMISSION and EXHAUSTED_STORAGE?

A: EXHAUSTED_SUBMISSION means the maximum retries for submitting the task to Artifactory were exceeded. EXHAUSTED_STORAGE means the maximum retries for the storage operation itself were exceeded. Both require the Replay Failed Binary Tasks API to retry.

Q: What should I check if binary tasks are not progressing?

A: Confirm the task handler is running, check queue penalties and retry state, and trigger manual recovery or Full Sync if needed. See Tasks Not Progressing for the full checklist.

Q: How many times will a binary task retry before it's marked exhausted?

A: Retries are controlled by the rtfs.binary.tasks.max.retry.per.task property, which defaults to 10 retries per task.

Q: What causes a binary task to be REJECTED?

A: A task is REJECTED when the target Artifactory rejects the binary due to validation or policy checks. Review the rejection details in your logs.

Related Topics


Did this page help you?