Read/Write multiple returners
salt.returners.multi_returner.
clean_old_jobs
()¶Clean out the old jobs from all returners (if you have it)
salt.returners.multi_returner.
get_jid
(jid)¶Merge the return data from all returners
salt.returners.multi_returner.
get_jids
()¶Return all job data from all returners
salt.returners.multi_returner.
get_load
(jid)¶Merge the load data from all returners
salt.returners.multi_returner.
prep_jid
(nocache=False, passed_jid=None)¶Call both with prep_jid on all returners in multi_returner
TODO: finish this, what do do when you get different jids from 2 returners... since our jids are time based, this make this problem hard, because they aren't unique, meaning that we have to make sure that no one else got the jid and if they did we spin to get a new one, which means "locking" the jid in 2 returners is non-trivial
salt.returners.multi_returner.
returner
(load)¶Write return to all returners in multi_returner
salt.returners.multi_returner.
save_load
(jid, clear_load)¶Write load to all returners in multi_returner