@jaKa, I used the attached patch to stop getting KeyErrors. After all the nodes where upgraded, I used clayg's script to migrate inactive accounts' dbs. Then I removed the patch and didn't see any KeyErrors after that.
@clayg, No nodes were down for a while but we only use one account which gets so much activity that TimeOut errors happen ( we have four accounts defined in the config but the other three don't see any activity). Using your script, I was able to confirm that the main accout's db on the upgraded server was already migrated correctly. The KeyErrors must be because the account's other db files are on servers that were not yet upgraded. I used the attached patch to stop getting KeyErrors until all servers were upgraded. Then I removed it and didn't see any KeyErrors after that.
@jaKa, I used the attached patch to stop getting KeyErrors. After all the nodes where upgraded, I used clayg's script to migrate inactive accounts' dbs. Then I removed the patch and didn't see any KeyErrors after that.
@clayg, No nodes were down for a while but we only use one account which gets so much activity that TimeOut errors happen ( we have four accounts defined in the config but the other three don't see any activity). Using your script, I was able to confirm that the main accout's db on the upgraded server was already migrated correctly. The KeyErrors must be because the account's other db files are on servers that were not yet upgraded. I used the attached patch to stop getting KeyErrors until all servers were upgraded. Then I removed it and didn't see any KeyErrors after that.