Project

General

Profile

Actions

Bug #22184

open

keep-web IntegrationSuite.TestConcurrentWrites fails intermittently

Added by Tom Clegg 20 days ago. Updated 5 days ago.

Status:
In Progress
Priority:
Normal
Assigned To:
Category:
Tests
Story points:
-
Release:
Release relationship:
Auto

Description

At 9cb3284ca1, ran the test 100x, got 4x failures.


Files

22184-log.txt (26.5 KB) 22184-log.txt Tom Clegg, 10/08/2024 05:36 PM

Subtasks 1 (1 open0 closed)

Task #22190: ReviewNewLucas Di PentimaActions
Actions #1

Updated by Tom Clegg 20 days ago

  • Status changed from New to In Progress
Actions #2

Updated by Tom Clegg 20 days ago

Actions #3

Updated by Tom Clegg 20 days ago

  • Description updated (diff)
Actions #4

Updated by Peter Amstutz 20 days ago

  • Release set to 70
Actions #5

Updated by Tom Clegg 20 days ago

Clues so far:
  • All observed failures are in the n=8 iteration (lots of goroutines operating on 8 different dirs in the same collection) -- no failures when running concurrent goroutines on 1, 2, or 4 different dirs
  • All observed failures return 409 for "PUT dirN/fileN"
  • The only case where the webdav handler returns 409 for PUT is when the parent directory does not exist
  • The test case has a barrier between MKCOL dirN and PUT dirN/fileN
  • In the attached log, PUT i=0/j=0,1,2,3,4,5,6 fail, then PUT i=0/j=7 succeeds

This seems to indicate that the side effect of MKCOL is reliably preserved, but calling collectionDir.Sync() at the end of MKCOL is not enough to guarantee that the created directory is visible during a future request.

The fact that we only see the problem with n=8 hints that the problem is a race between concurrent collectionDir.Sync() calls for different directories in the same collection.

Actions #6

Updated by Peter Amstutz 19 days ago

  • Target version changed from Development 2024-10-09 sprint to Development 2024-10-23 sprint
Actions #7

Updated by Peter Amstutz 5 days ago

  • Target version changed from Development 2024-10-23 sprint to Development 2024-11-06 sprint
Actions

Also available in: Atom PDF