Changeset - 8dc33b794924
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 12 years ago 2013-03-26 16:51:48
drewp@bigasterisk.com
syncedgraph logging text
Ignore-this: 3363b8be808e98ba40fa65601f893a06
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
light9/rdfdb/syncedgraph.py
Show inline comments
 
@@ -97,7 +97,7 @@ class SyncedGraph(CurrentStateGraphApi, 
 
        # these could fail if we're out of sync. One approach:
 
        # Rerequest the full state from the server, try the patch
 
        # again after that, then give up.
 
        log.info("%s add %s", [q[2] for q in p.delQuads], [q[2] for q in  p.addQuads])
 
        log.info("del %s add %s", [q[2] for q in p.delQuads], [q[2] for q in  p.addQuads])
 
        patchQuads(self._graph, p.delQuads, p.addQuads, perfect=True)
 
        self.runDepsOnNewPatch(p)
 
        self._sender.sendPatch(p).addErrback(self.sendFailed)
 
@@ -125,7 +125,7 @@ class SyncedGraph(CurrentStateGraphApi, 
 
            # receive its patch correctly. However, we're in a bad
 
            # state since some dependencies may not have rerun
 
            traceback.print_exc()
 
            log.warn("some dependencies may not have rerun")
 
            log.warn("some graph dependencies may not have completely run")
 

	
 
        if self.initiallySynced:
 
            self.initiallySynced.callback(None)
0 comments (0 inline, 0 general)