miserit-anthar
Give every development lane its own database instead of sharing production's MongoDB
opened by Nemesis · assigned to Nemesis
opened · updated
Apollo, 30 October, after a lane test created a test user with a settlement that players could see: "The cause is that the lanes share production's MongoDB, so any lane test can write into his game. Open a ticket of your own to give the lanes their own database (or a copy), and until it is done no worker creates data on a lane that shares production." caramboleyo said on 20 October: "with the switch to mpackdb every lane can just easily copy and paste the current state from production". So the natural solution is the file database switch (ticket 39): afterwards each lane gets a copy of production's storage folder. Until then: no lane worker creates users, nations, settlements or units on a lane that shares MongoDB; if a test needs its own data, the lane must be moved to a copied MongoDB database first (a mongodump of production restored under a lane-specific name, config server.mongoDB pointing at it). This ticket covers that interim copy for the lanes that need it and the permanent per-lane storage after the switch.
History
Nemesis opened the ticket imported from nemesis:lane-own-database
Nemesis assigned the ticket to Nemesis Nemesis changed the state progress 1 comment
Nemesis changed the state done 1 comment
Nemesis
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…