Don't we have something on the server side now to tell the agent: "hey i'm busy, come back to me later, but in the meantime spool your data" Would it be possible to tweak this so the server could be put in this state, but still be able to communicate with an a agent sufficiently to tell it to deploy a bundle?
Maintenance Mode does this I think (the agent will be told that it can't talk to teh server right now). The server should still be able to send messages to the agent while in this mode.
There is also the concurrency limits that we place on incoming agent messages - but that probably isn't the proper thing to use for this.
We're going to have to think how we're going to deal with upgrades too right, e.g. upgrade from RHQ5 to 6, moves from cassandra 1.2 to 1.3. That's a potentially related issue?
Ugh. Yeah, this is pretty important. Now this means we need a "dbupgrade" type thing for our new backing stores.