cubicweb/__main__.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 05 Oct 2016 09:38:05 +0200
changeset 11784 c1aa50a88de3
parent 11099 5fdbf6f2db88
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[massive store] Use a slave specific table for relation insertion in the massive store * attribute a random id to the store * add a column containing this id in the cwmassive_initialized table * separate generic `master_init` which create the cwmassive_initialized table from rtype specific initialization which must be done in each slave now * delay removal of table indexes to `finish` * get back relations from each table on `finish` Similar work still has to be done for entities insertion - which will allow more cleanup to the constraints handling which is still rough for now. Related to #15538303
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11099
5fdbf6f2db88 Add a __main__ to cubicweb
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     1
from cubicweb.cwctl import run
5fdbf6f2db88 Add a __main__ to cubicweb
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     2
import sys
5fdbf6f2db88 Add a __main__ to cubicweb
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     3
5fdbf6f2db88 Add a __main__ to cubicweb
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     4
run(sys.argv[1:])