Project

General

Profile

Actions

Bug #1257

closed

test/fix concurrency issues with RADOS

Added by Colin McCabe almost 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librados
Target version:
% Done:

100%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In general, we need to make sure that concurrent operation works properly with RADOS / librados / DHO.
We have never used librados in a multi-threaded context before (it wasn't possible before issue #815 was resolved).

This task involves analyzing the code from a high level, and also writing tests of all the various cases. The tests should be integrated with Teuthology to prevent regressions.

The same tests can be used to test librados multi-process concurrency and multi-thread concurrency. You simply have a piece of code that can either do fork() and pthread_create(), and a later one that either does join() or pthread_join().


Subtasks

Actions

Also available in: Atom PDF