News for hackers. Stuff that matters.
Re:Jepsen: MongoDB 4.2.6 by yobert on Sunday May 24, 2020 @01:58PM (#23293247)
Every month, we do an external database import into our production PostgreSQL database. In a single transaction, we drop dozens of tables, create new ones with the same names, insert hundreds of thousands of rows, and recreate indexes, all in a single transaction. It works flawlessly.
Re:Jepsen: MongoDB 4.2.6 by vijaybritto on Monday May 25, 2020 @03:00AM (#23298714)
wow! have you tested for network errors in any of these steps? Will it rollback automatically if there are any errors?
Re:Jepsen: MongoDB 4.2.6 by sterwill on Monday May 25, 2020 @09:40AM (#23300962)
If it's in a transaction, it will do the same thing it would do for any failed transaction (roll it back). DDL isn't special.