Nicolas Martyanoff on Nostr: Obsessing over database schema rollbacks is a bad idea. They may seem useful on small ...
Obsessing over database schema rollbacks is a bad idea. They may seem useful on small systems, but the real world is distributed: you can rollback the schema but not the operations that affected other systems, so you end up with an inconsistent system.
Forget rollbacks. Make subsystems easy to quickly disable if they start acting out (e.g. feature flags), and learn to fix my moving forward.
Published at
2025-01-24 12:12:09Event JSON
{
"id": "ca7e4d902addc732c9fce9021f6de4dec1662792e6055743f58f9afda6f2dd19",
"pubkey": "6d91e7b056ab18986298e04a8b278a5e070a726487fd30a599427c79db9070e9",
"created_at": 1737720729,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/galdor/statuses/113883265740791830",
"activitypub"
]
],
"content": "Obsessing over database schema rollbacks is a bad idea. They may seem useful on small systems, but the real world is distributed: you can rollback the schema but not the operations that affected other systems, so you end up with an inconsistent system.\n\nForget rollbacks. Make subsystems easy to quickly disable if they start acting out (e.g. feature flags), and learn to fix my moving forward.",
"sig": "9f1133ddd2d95eb1fac252e19f8fd240da59f141e781bef7da7e017f18bddb5eb5a539051e51a739084c2217ba2056c382fd0fc5e52e907083c32c1eb80251c4"
}