summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/NodeCache.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2015-10-28 16:07:56 -0230
committerDwayne Boone <dwayne@zeroc.com>2015-10-28 16:07:56 -0230
commitbe5e69faebc1e7cb55938550440c8b8bc19c1d31 (patch)
treed5cb233ca00e0ca1aa07993fea95486e266754f5 /cpp/src/IceGrid/NodeCache.cpp
parentFixed merge issue from previous commit (diff)
downloadice-be5e69faebc1e7cb55938550440c8b8bc19c1d31.tar.bz2
ice-be5e69faebc1e7cb55938550440c8b8bc19c1d31.tar.xz
ice-be5e69faebc1e7cb55938550440c8b8bc19c1d31.zip
Convert IceGrid/IceStorm to use LMDB database rather than Freeze/BdB
Diffstat (limited to 'cpp/src/IceGrid/NodeCache.cpp')
-rw-r--r--cpp/src/IceGrid/NodeCache.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/NodeCache.cpp b/cpp/src/IceGrid/NodeCache.cpp
index e28468b36af..22f98a01a05 100644
--- a/cpp/src/IceGrid/NodeCache.cpp
+++ b/cpp/src/IceGrid/NodeCache.cpp
@@ -109,10 +109,12 @@ struct ToInternalServerDescriptor : std::unary_function<CommunicatorDescriptorPt
if(p->dbHome.empty())
{
_desc->dbEnvs.push_back(new InternalDbEnvDescriptor(p->name, p->properties));
+ props.push_back(createProperty(p->name + ".LMDB.Path", dbsPath + p->name));
props.push_back(createProperty("Freeze.DbEnv." + p->name + ".DbHome", dbsPath + p->name));
}
else
{
+ props.push_back(createProperty(p->name + ".LMDB.Path", p->dbHome));
props.push_back(createProperty("Freeze.DbEnv." + p->name + ".DbHome", p->dbHome));
}
}
@@ -663,7 +665,7 @@ NodeEntry::destroyServer(const ServerEntryPtr& entry, const ServerInfo& info, in
if(noRestart)
{
- node->begin_destroyServerWithoutRestart(info.descriptor->id, info.uuid, info.revision,
+ node->begin_destroyServerWithoutRestart(info.descriptor->id, info.uuid, info.revision,
_cache.getReplicaName(),
newCallback_Node_destroyServerWithoutRestart(
new DestroyCB(_cache.getTraceLevels(), entry, _name),