summaryrefslogtreecommitdiffstats
path: root/common/changereplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/changereplay.cpp')
-rw-r--r--common/changereplay.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/changereplay.cpp b/common/changereplay.cpp
index 6b4540e..7895b66 100644
--- a/common/changereplay.cpp
+++ b/common/changereplay.cpp
@@ -33,7 +33,6 @@ ChangeReplay::ChangeReplay(const ResourceContext &resourceContext, const Sink::L
33 : mStorage(storageLocation(), resourceContext.instanceId(), DataStore::ReadOnly), mChangeReplayStore(storageLocation(), resourceContext.instanceId() + ".changereplay", DataStore::ReadWrite), mReplayInProgress(false), mLogCtx{ctx.subContext("changereplay")}, 33 : mStorage(storageLocation(), resourceContext.instanceId(), DataStore::ReadOnly), mChangeReplayStore(storageLocation(), resourceContext.instanceId() + ".changereplay", DataStore::ReadWrite), mReplayInProgress(false), mLogCtx{ctx.subContext("changereplay")},
34 mGuard{new QObject} 34 mGuard{new QObject}
35{ 35{
36 SinkTraceCtx(mLogCtx) << "Created change replay: " << resourceContext.instanceId();
37} 36}
38 37
39qint64 ChangeReplay::getLastReplayedRevision() 38qint64 ChangeReplay::getLastReplayedRevision()
@@ -55,7 +54,6 @@ bool ChangeReplay::allChangesReplayed()
55 SinkWarningCtx(mLogCtx) << error.message; 54 SinkWarningCtx(mLogCtx) << error.message;
56 })); 55 }));
57 const qint64 lastReplayedRevision = getLastReplayedRevision(); 56 const qint64 lastReplayedRevision = getLastReplayedRevision();
58 SinkTraceCtx(mLogCtx) << "Checking if all replayed. Top revision:" << topRevision << "Last replayed:" << lastReplayedRevision;
59 return (lastReplayedRevision >= topRevision); 57 return (lastReplayedRevision >= topRevision);
60} 58}
61 59