Project

General

Profile

Actions

Feature #2727

closed

filestore: add split

Added by Samuel Just almost 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

Source:
Tags:
CY2012
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Add split functionality to filestore. The existing collection structure should be already in place.

Interface could be something like:

split(coll_t from, SplitFilter filter);

where

class SplitFilter {
/** * filter(filestore_key, bits, &coll) returns true iff * forall hobject x, y in from: (x.filestore_key & (1<<bits)) (y.filestore_key & (1<<bits) filestore_key) * => x, y should move to *coll.
*/
virtual bool operator()(uint32_t filestore_key, int bits, coll_t *out_coll);
}


Related issues 1 (0 open1 closed)

Has duplicate Ceph - Feature #1514: filestore: api to repartition a collectionDuplicate09/07/2011

Actions
Actions #1

Updated by Samuel Just almost 12 years ago

On second thought, that would be hard to encode into a transaction, it'll probably just take a

[(hash_prefix, bits, coll_t)]

to define the movements.

Actions #2

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_position set to 131
Actions #3

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_position deleted (131)
  • Translation missing: en.field_position set to 130
Actions #4

Updated by Sage Weil over 11 years ago

  • Translation missing: en.field_position deleted (139)
  • Translation missing: en.field_position set to 9
Actions #5

Updated by Anonymous over 11 years ago

  • Priority changed from Normal to High
  • Tags set to CY2012
Actions #6

Updated by Sage Weil over 11 years ago

  • Translation missing: en.field_story_points set to 5
  • Translation missing: en.field_position deleted (47)
  • Translation missing: en.field_position set to 46
Actions #7

Updated by Sage Weil over 11 years ago

  • Target version set to v0.53c
  • Translation missing: en.field_position deleted (54)
  • Translation missing: en.field_position set to 3
Actions #8

Updated by Sage Weil over 11 years ago

  • Target version changed from v0.53c to v0.54a
  • Translation missing: en.field_position deleted (19)
  • Translation missing: en.field_position set to 1406
Actions #9

Updated by Sage Weil over 11 years ago

  • Target version changed from v0.54a to v0.54b
  • Translation missing: en.field_position deleted (1411)
  • Translation missing: en.field_position set to 1
Actions #10

Updated by Sage Weil over 11 years ago

  • Target version changed from v0.54b to v0.55a
  • Translation missing: en.field_position deleted (13)
  • Translation missing: en.field_position set to 5
Actions #11

Updated by Sage Weil over 11 years ago

  • Target version deleted (v0.55a)
  • Translation missing: en.field_position deleted (5)
  • Translation missing: en.field_position set to 1
Actions #12

Updated by Dan Mick over 11 years ago

  • Translation missing: en.field_position deleted (16)
  • Translation missing: en.field_position set to 12
Actions #13

Updated by Sage Weil over 11 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF