# HG changeset patch # User Julien Cristau # Date 1449064623 -3600 # Node ID 5413ab08617dc82764eeef3a1f93e1f0b475d0d4 # Parent dc70698dcf6c7b3cf25966a1ce6b20606096c268 [dataimport] massive store in slave mode shouldn't flush metadata The metadata insertion is to be done only by the master-mode store. diff -r dc70698dcf6c -r 5413ab08617d dataimport/massive_store.py --- a/dataimport/massive_store.py Mon Dec 21 12:29:50 2015 +0100 +++ b/dataimport/massive_store.py Wed Dec 02 14:57:03 2015 +0100 @@ -570,7 +570,8 @@ self.on_rollback(exc, etype, data) # Clear data cache self._data_entities[etype] = [] - self.flush_meta_data() + if not self.slave_mode: + self.flush_meta_data() def flush_meta_data(self): """ Flush the meta data (entities table, is_instance table, ...)