Closed GoogleCodeExporter closed 8 years ago
Will look into this during the following days.
Just as a quick note: the revision *is* stored in the database, in the
"metadata" table, and is checked each time mycheckpoint is invoked.
In fact, the way mycheckpoint upgrades is by comparing the revision of the
script with the revision of the schema, upgrading the schema.
Will look more into that as well.
Original comment by shlomi.n...@gmail.com
on 9 Sep 2010 at 3:36
Hi
First of all: good work! I just tried this application out for the first time
and found it really useful.
I think the issue here is that the monitoring connection is used when the write
connection should be used (since these lookups are made to tables in the
mycheckpoint data repos and not on the monitored server).
Without having looked to closely at this I suggest the following solution:
- On line 1292, connect explicitly passing write_conn to get_rows
1292 for custom_query in get_rows(query, write_conn):
- On line 1788, same thing
1788 row = get_row(query, write_conn)
Otherwise, in get_rows, the monitored_connection will be used:
302 def get_rows(query, connection=None):
303 if connection is None:
304 connection = monitored_conn
...
After these changes it worked for me, but maybe this brakes something else...
Kindest regards
Olle
Original comment by noj.nils...@gmail.com
on 9 Sep 2010 at 8:15
@Olle,
Your diagnostics was accurate, except replace "1788" with "1690" (but that's
just a typo :) )
Original comment by shlomi.n...@gmail.com
on 14 Sep 2010 at 8:54
[deleted comment]
Fixed in revision 192 (not yet released)
Original comment by shlomi.n...@gmail.com
on 14 Sep 2010 at 8:56
Revision 192 released. I'd appreciate your feedback
Original comment by shlomi.n...@gmail.com
on 14 Sep 2010 at 8:58
Original issue reported on code.google.com by
dragonsc...@gmail.com
on 8 Sep 2010 at 3:33