Project

General

Profile

Actions

Bug #1357

closed

Making many pools and writing to them eventually hangs

Added by Greg Farnum over 12 years ago. Updated over 12 years ago.

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

0%

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

Description

Discovered while testing #1297. Looping pool creates eventually hang when the OSD rejects writes for being sent earlier than same_primary_since on the PG.
Turns out that the OSD was initializing same_primary_since based on the osdmap epoch when the PG was created locally, not when it was entered into the map.

A Fix is in testing now.

Actions #1

Updated by Greg Farnum over 12 years ago

  • Status changed from New to 7
Actions #2

Updated by Greg Farnum over 12 years ago

  • Status changed from 7 to In Progress

Well, I've found several different races and bugs. My current progress is in the wip-pg-creation branch, but there's still at least one issue creating...
Hopefully I can track it down tomorrow or on my way home.

Actions #3

Updated by Greg Farnum over 12 years ago

  • Status changed from In Progress to Resolved

Ah, I didn't have quite the right fix in for the PGMonitor's PG creation (I was only setting it properly for the localized PGs -- whoops!).

This issue is now resolved. However, there is a similar one that crops up when creating new PGs in a pre-existing pool. I've made bug #1358 to track that.

Actions

Also available in: Atom PDF