Project

General

Profile

Actions

Bug #22184

closed

Consistent WebDAV behavior in load-balanced installation

Added by Tom Clegg about 1 month ago. Updated 16 days ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Keep
Story points:
-
Release:
Release relationship:
Auto

Description

Originally this was a flaky test bug report:
  • keep-web IntegrationSuite.TestConcurrentWrites fails intermittently
  • at 9cb3284ca1, ran the test 100x, got 4x failures.

The underlying problem was that (since #21702) keep-web's cache behaves eventually-consistent in a way that is likely to confuse clients (e.g., if a client reads a file soon after updating/replacing that file with new content, the old content might be returned).

Before #21702, this problem only existed in a load-balanced setup -- as long as there was only one keep-web process, writes to a given collection ID were serialized and the cached filesystem was updated after each write, so no request used an outdated view of a collection.

This issue now aims to fix the problem even for load-balanced setups.


Files

22184-log.txt (26.5 KB) 22184-log.txt Tom Clegg, 10/08/2024 05:36 PM
Arvados_arch.png (145 KB) Arvados_arch.png Tom Clegg, 11/04/2024 09:40 PM

Subtasks 1 (1 open0 closed)

Task #22190: Review 22184-concurrent-mkcolIn ProgressTom Clegg11/04/2024Actions

Related issues

Related to Arvados - Feature #21702: keep-web uses replace_files API to add/replace/rename/remove files atomicallyResolvedTom Clegg09/25/2024Actions
Related to Arvados - Feature #22279: keep-web: eliminate extra PDH lookup per request in series of PUT requestsNewTom CleggActions
Related to Arvados - Feature #22281: Installer allows keep-web to connect to databaseResolvedLucas Di PentimaActions
Actions

Also available in: Atom PDF