Feature #2727
closed
Added by Samuel Just almost 12 years ago.
Updated over 11 years ago.
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);
}
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.
- Translation missing: en.field_position set to 131
- Translation missing: en.field_position deleted (
131)
- Translation missing: en.field_position set to 130
- Translation missing: en.field_position deleted (
139)
- Translation missing: en.field_position set to 9
- Priority changed from Normal to High
- Tags set to CY2012
- Translation missing: en.field_story_points set to 5
- Translation missing: en.field_position deleted (
47)
- Translation missing: en.field_position set to 46
- Target version set to v0.53c
- Translation missing: en.field_position deleted (
54)
- Translation missing: en.field_position set to 3
- Target version changed from v0.53c to v0.54a
- Translation missing: en.field_position deleted (
19)
- Translation missing: en.field_position set to 1406
- Target version changed from v0.54a to v0.54b
- Translation missing: en.field_position deleted (
1411)
- Translation missing: en.field_position set to 1
- Target version changed from v0.54b to v0.55a
- Translation missing: en.field_position deleted (
13)
- Translation missing: en.field_position set to 5
- Target version deleted (
v0.55a)
- Translation missing: en.field_position deleted (
5)
- Translation missing: en.field_position set to 1
- Translation missing: en.field_position deleted (
16)
- Translation missing: en.field_position set to 12
- Status changed from New to Resolved
Also available in: Atom
PDF