Project

General

Profile

Actions

Bug #9661

closed

ceph_objectstore_tool doesn't work with memstore

Added by David Zafman over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:

0%

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

Description

A CephContext* isn't passed to ObjectStore::create() so MemStore::mount() crashes.

MemStore::set_allow_sharded_objects() always returns true. This causes ceph_obectstore_tool to complain "FileStore sharded but OSD not set, Corruption?" if there haven't ever been EC pools created. MemStore needs to load/save the sharding state and start initially as false.

Actions #1

Updated by David Zafman over 9 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by David Zafman over 9 years ago

  • Status changed from Fix Under Review to Resolved

6067f295e7bc571b43aa891f5560d96933721b19

Actions

Also available in: Atom PDF