Archived
engine: the KV plan split, the host mirror, and --kv-resident bring-up
This commit is contained in:
1 parent
cce687bf2c
commit
a9e627b7ca
44 files changed
+3118
-51
No files matched your search
@@ -339,6 +339,14 @@ struct FakeKV : IKVManager {
|
||||
const KVGeom::G& gg = geom.g[(size_t)g];
|
||||
return gg.paged ? gg.block_size : 0;
|
||||
}
|
||||
/* A streamed group's view, as KVManager::stream_view returns it. Tests install fake
|
||||
* addresses to check that the builder rebases them into each rank's pool; with `streams`
|
||||
* false the fake has none, which is every other scheduler test. */
|
||||
RadKVStream stream{};
|
||||
bool streams = false;
|
||||
const RadKVStream* stream_view(int32_t g) const override {
|
||||
return streams && g == 0 ? &stream : nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
struct FakePC : IPrefixCache {
|
||||
|
||||
Reference in new issue
Block a user