Project

General

Profile

Bug #14387

fabfile: does install_git still need to compile from source?

Added by Dan Mick about 3 years ago. Updated 9 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/15/2016
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

we needed a new version in the past; do we still?

Associated revisions

Revision 09142463 (diff)
Added by xie xingguo almost 3 years ago

OSD: fix race condition for heartbeat_need_update

The heartbeat_need_update member can be accessed by both OSD tick thread and
PG relevant threads, that is why the heartbeat_update_lock mutex is introduced
to protect against its change. However, in the tick thread we may still be able
to reset heartbeat_need_update to false whithout holding heartbeat_update_lock
in hand, which shall be considered as a race conditon.

This pr solves the above problem by add a new API to clear heartbeat_need_update
atomically, which fix the above potential race condition.

Fixes: #14387
Signed-off-by: xie xingguo <>

History

#1 Updated by Sage Weil 9 months ago

  • Status changed from New to Rejected

Also available in: Atom PDF