Before this change, in the case of a one-way replication, the remote checkpoint was never updated, thus the "diff" step had to check all changes made through the whole history. This commit fixes the problem by creating a new remote checkpoint at the same time when a local checkpoint is created. It is important to create the new checkpoint before the replication is started to prevent a race condition where a remote change can end up being associated with an already replicated checkpoint. |
||
---|---|---|
.. | ||
connectors | ||
access-context.js | ||
application.js | ||
browser-express.js | ||
builtin-models.js | ||
express-middleware.js | ||
loopback.js | ||
model.js | ||
persisted-model.js | ||
registry.js | ||
runtime.js | ||
server-app.js |