@@ 63-65 (lines=3) @@ | ||
60 | $ts = new \MongoTimestamp(0, 0); |
|
61 | } |
|
62 | ||
63 | if (\PHPDaemon\Core\Daemon::$config->logevents->value) { |
|
64 | \PHPDaemon\Core\Daemon::log('MongoNode: replication point - ' . $answer->result . ' (' . \PHPDaemon\Core\Debug::dump($ts) . ')'); |
|
65 | } |
|
66 | ||
67 | $this->initSlave($ts); |
|
68 | } |
|
@@ 104-106 (lines=3) @@ | ||
101 | $cursor->lastOpId = null; |
|
102 | ||
103 | foreach ($cursor->items as $k => &$item) { |
|
104 | if (\PHPDaemon\Core\Daemon::$config->logevents->value) { |
|
105 | \PHPDaemon\Core\Daemon::log(get_class($this) . ': caught oplog-record with ts = (' . \PHPDaemon\Core\Debug::dump($item['ts']) . ')'); |
|
106 | } |
|
107 | ||
108 | $cursor->lastOpId = $item['ts']; |
|
109 |