-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kv/KeyValueDB: add column family #18049
Commits on Oct 3, 2017
-
os/ObjectMap: tie ObjectMap::ObjectMapIterator to superclass
These iterfaces are similar but ultimately unrelated! Unfortunately we are stuck with a joined class hiearchy because of DBObjectMap. Someday it would be nice to break this link. Signed-off-by: Sage Weil <sage@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for c9d54b6 - Browse repository at this point
Copy the full SHA c9d54b6View commit details -
kv/KeyValueDB: use public iterator interface simple; hide prefixing one
This uses the most general class as the type for the Iterator shared_ptr typedef, and makes the class that filters by prefix private. Signed-off-by: Sage Weil <sage@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 953232c - Browse repository at this point
Copy the full SHA 953232cView commit details -
kv/KeyValueDB: simplify iterator overloads
get_wholespace_iterator() and get_iterator(). This gets rid of the goofy _get_iterator() indirection and avoids colliding on names w/ virtual methods. Signed-off-by: Sage Weil <sage@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 24b83ae - Browse repository at this point
Copy the full SHA 24b83aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba3353a - Browse repository at this point
Copy the full SHA ba3353aView commit details -
kv/KeyValueDB: add column family interface
Signed-off-by: Jianjian Huo <jianjian.huo@ssi.samsung.com> Signed-off-by: Sage Weil <sage@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 6bddacb - Browse repository at this point
Copy the full SHA 6bddacbView commit details -
kv/RocksDBStore: move to_bufferlist to .cc
Signed-off-by: Sage Weil <sage@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for ddc4ff9 - Browse repository at this point
Copy the full SHA ddc4ff9View commit details
Commits on Oct 5, 2017
-
kv/RocksDBStore: add CF support
- detect and use existing CFs on open Signed-off-by: Jianjian Huo <jianjian.huo@ssi.samsung.com> Signed-off-by: Adam C. Emerson <aemerson@redhat.com> Signed-off-by: Sage Weil <sage@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 1336028 - Browse repository at this point
Copy the full SHA 1336028View commit details -
kv/RocksDBStore: simplify CF merge operator routing
Merge operators always map to a prefix, just like a CF, so we can link directly to the operator without doing any lookup. Signed-off-by: Sage Weil <sage@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 895952f - Browse repository at this point
Copy the full SHA 895952fView commit details -
os/bluestore: define PREFIX_ALLOC_BITMAP
This was hard-coded to 'b'. Signed-off-by: Sage Weil <sage@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 87c1f57 - Browse repository at this point
Copy the full SHA 87c1f57View commit details -
os/bluestore: use separate CF for omap and deferred
Signed-off-by: Sage Weil <sage@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 6ea96fa - Browse repository at this point
Copy the full SHA 6ea96faView commit details -
kv/RocksDBStore: fix default CF handling
We need to close the default CF handle *only* if we explicitly opened it. Also, take care to use that handle wherever we can. This is mostly paranoia--I'm not sure if rocksdb cares if you mix the handle you opened with DefaultColumnFamily(), which is different. Signed-off-by: Sage Weil <sage@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for f4e4323 - Browse repository at this point
Copy the full SHA f4e4323View commit details