summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/londiste/table_copy.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/londiste/table_copy.py b/python/londiste/table_copy.py
index 5f0f8bc5..6ba0612e 100644
--- a/python/londiste/table_copy.py
+++ b/python/londiste/table_copy.py
@@ -45,6 +45,9 @@ class CopyTable(Replicator):
def reload_table_stat(self, dst_curs, tblname):
self.load_table_state(dst_curs)
+ if tblname not in self.table_map:
+ self.log.warning('Table %s removed from replication', tblname)
+ sys.exit(1)
t = self.table_map[tblname]
return t