From 44edbee0f0b2fcf13e2ee388a90a8dd1f84a329e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 1 Dec 2015 11:10:37 +0100 Subject: Resolve remoteIds during sync Remote id's need to be resolved while syncing any references. This is done by the synchronizer by consulting the rid to entity id mapping. If the referenced entity doesn't exist yet we create a local id anyways, that we then need to pick up once the actual entity arrives. --- common/index.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'common/index.cpp') diff --git a/common/index.cpp b/common/index.cpp index 2fc0fe3..f4de93c 100644 --- a/common/index.cpp +++ b/common/index.cpp @@ -38,3 +38,16 @@ void Index::lookup(const QByteArray &key, const std::function