Skip to content

TUS uploads can get permanently stuck after failed resume; stale uploadinfo is not reset since 3.0 #898

@zerox80

Description

@zerox80

Since 3.0, large Windows batch uploads (~20GB, many files) become unreliable/stuck. Before 3.0 this worked.

Suspected regression:

  • Enable http2 support by default #333 enabled HTTP/2 by default.
  • Account starts with _http2Supported=true.
  • Folder::loadSyncOptions() returns 20 network jobs for HTTP/2.
  • OwncloudPropagator::maximumActiveTransferJob() now uses std::max(3, ceil(parallelJobs/2)), which allows 10 active transfer jobs with HTTP/2 instead of capping at 3.
  • Backend advertises TUS creation-with-upload with default 10MB max chunk size.
  • Remove unused code from UploadInfo #637 removed repeated upload error reset logic for UploadInfo/TUS.

Repro:

  1. Windows client 3.0.
  2. OpenCloud backend with default TUS upload protocol.
  3. Drop ~20GB/many files into sync folder.
  4. Observe upload timeouts/stuck/retries/incomplete uploads.
  5. Retest with OPENCLOUD_HTTP2_DISABLED=1 or with transfer concurrency capped at 3.

Expected:
Large batch upload eventually completes.

Actual:
Uploads become unreliable/stuck after 3.0.

@guruz @dragotin

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions