[DiscordArchive] Aren't you just replicating the tdb release script ?
[DiscordArchive] Aren't you just replicating the tdb release script ?
Archived author: jackpoz • Posted: 2024-09-01T21:00:43.368000+00:00
Original source
And both require it to be up to date
Archived author: jackpoz • Posted: 2024-09-01T21:01:05.409000+00:00
Original source
Ideally, authserver/bnetserver update auth, worldserver doesn't
Archived author: Motive • Posted: 2024-09-01T21:01:12.236000+00:00
Original source
that would make more sense, yeah
Archived author: jackpoz • Posted: 2024-09-01T21:01:29.121000+00:00
Original source
But you can imagine users randomly starting both processes at the same time
Archived author: jackpoz • Posted: 2024-09-01T21:02:21.443000+00:00
Original source
My solution was this when installing an update on a single realm server
Archived author: jackpoz • Posted: 2024-09-01T21:02:23.465000+00:00
Original source
./worldserver --update-databases-only
Archived author: Motive • Posted: 2024-09-01T21:02:40.517000+00:00
Original source
the original sin is that there's two applications accessing the same DB. no single responsibility, so the API boundary becomes blurry, but that's much larger in scope
Archived author: jackpoz • Posted: 2024-09-01T21:02:44.617000+00:00
Original source
Shut down both, update everything, start them up
Archived author: jackpoz • Posted: 2024-09-01T21:03:32.782000+00:00
Original source
Well, both share the same repo
Archived author: jackpoz • Posted: 2024-09-01T21:03:48.938000+00:00
Original source
Just need to update the dbs atomically with every git pull