summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/MultiprocessingCore.py
Commit message (Collapse)AuthorAgeFilesLines
* Metadata: reread client list from databaseChris St. Pierre2014-02-231-0/+1
| | | | | | | | This fixes two related bugs: One causes Metadata to use an out-of-date cached list of clients when a client is deleted or added with bcfg2-admin; the other causes child worker processes to use an out-of-date cached list of clients when a client is added with a Bcfg2 run when the multiprocessing core is in use.
* Multiprocessing: removed unused importChris St. Pierre2013-11-061-1/+1
|
* Multiprocessing: don't reuse child RPC listenersChris St. Pierre2013-11-051-26/+7
|
* MultiprocessingCore: added missing docstringChris St. Pierre2013-08-091-0/+2
|
* Core: iterate over RMI objects properlyChris St. Pierre2013-08-091-2/+2
|
* Core: fixed py3k incompatibilityChris St. Pierre2013-08-091-4/+2
| | | | | Also abstracted getting the list of objects that may register RMI calls into a separate function.
* MultiprocessingCore: added a way to dispatch RMI calls to child processesChris St. Pierre2013-08-071-10/+66
|
* Plugin: added new Caching interfaceChris St. Pierre2013-08-071-8/+8
| | | | | | | This gives a single unified interface for expiring caches, no matter the plugin. This will be particularly useful with the MultiprocessingCore, as certain calls must be dispatched to child processes to expire their caches.
* MultiprocessingCore: log some messages as debug, not errorChris St. Pierre2013-08-061-2/+2
|
* Multiprocessing: fixed resolve_client callChris St. Pierre2013-08-051-1/+1
|
* Multiprocessing: proxy RecvProbeData callsChris St. Pierre2013-08-051-0/+15
| | | | | | | | This proxies RecvProbeData calls to child cores to expire the probe cache. The probe data itself is not relayed, just the fact that there was probe data received from a given client. Fixes #129.
* MultiprocessingCore: greatly simplified parent-child RPC, removed ↵Chris St. Pierre2013-08-051-262/+145
| | | | non-thread-safe bits
* MultiprocessingCore: added missing docstringChris St. Pierre2013-08-011-0/+6
|
* MultiprocessingCore: dispatch "bcfg2-admin perf" calls to childrenChris St. Pierre2013-07-311-3/+35
|
* MultiprocessingCore: timing out GetConfig() calls can cause memory issuesChris St. Pierre2013-07-311-6/+1
|
* MultiprocessingCore: added missing doc stringsChris St. Pierre2013-07-301-4/+14
|
* MultiprocessingCore: make multiprocessing children threaded for higher ↵Chris St. Pierre2013-07-301-139/+341
| | | | performance
* MultiprocessingCore: rewrote parent-child RPC to be thread-safe (and less ↵Chris St. Pierre2013-07-231-67/+90
| | | | powerful)
* MultiprocessingCore: Fixed return value from set_debugChris St. Pierre2013-07-221-1/+1
|
* MultiprocessingCore: removed unused importChris St. Pierre2013-07-221-1/+0
|
* MultiprocessingCore: Call Debuggable.__init__ on DispatchingCacheChris St. Pierre2013-07-221-2/+1
|
* MultiprocessingCore: Dispatch metadata cache expiration to childrenChris St. Pierre2013-07-221-10/+92
| | | | | | | | | | When the broker in a multiprocessing configuration expires its metadata cache (e.g., when probe data is received), it must dispatch that expiration call to its children. This also makes the protocol for communication between the broker and its children into a real RPC protocol, so we can do even more stuff in the future.
* Core: added more debugging on server shutdownChris St. Pierre2013-05-201-0/+1
|
* added multiprocessing server coreChris St. Pierre2013-05-201-0/+203