Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use the new transaction api in hawd | Christian Mollekopf | 2015-08-10 |
| | |||
* | DummyResourceBenchmark cleanup. | Christian Mollekopf | 2015-08-10 |
| | |||
* | Set stale lock time. | Christian Mollekopf | 2015-08-10 |
| | | | | | | We're trying to protect against race conditions, a lock time off 500ms should suffice and means we can recover automatically after a crash. | ||
* | Use new store API in storagebenchmark | Christian Mollekopf | 2015-08-10 |
| | |||
* | Use the HAWD::Formatter | Christian Mollekopf | 2015-08-10 |
| | |||
* | Adapt tests to exposed jobs in api | Christian Mollekopf | 2015-08-10 |
| | |||
* | Transaction class for storage | Christian Mollekopf | 2015-08-09 |
| | | | | | | The beginning of a cleaner and less bare-bones API for the storage. The lifetime of transactions is now handled in (movable) transaction objects. | ||
* | HAWD::Formatter to print dataset | Christian Mollekopf | 2015-08-07 |
| | |||
* | Example for parallel processing of jobs | Christian Mollekopf | 2015-08-07 |
| | |||
* | Return jobs from clientapi | Christian Mollekopf | 2015-08-07 |
| | |||
* | Debugmessage for received commands in resource | Christian Mollekopf | 2015-07-31 |
| | |||
* | Fixed possible race conditions. | Christian Mollekopf | 2015-07-31 |
| | | | | | | | | | | | * Ensure we always create the thread-local event loop before any objects in the thread are created, and guarantee the done handler is immediately registered before the query can execute. * Call the callback on emitter destruction in the worker thread, where the eventloop lives, instead of the main thread. With this I can no longer reproduce any deadlocks or memory corruptions that I used to get occasionally before. | ||
* | Tested command loop with Ping command. | Christian Mollekopf | 2015-07-30 |
| | | | | | | Ping is a command that by definition doesn't affect the resource, and thus can be used at all times to check if the resource is still alive. | ||
* | ResourceCommunicationTest | Christian Mollekopf | 2015-07-30 |
| | |||
* | Moved lockfile into synchronizer | Christian Mollekopf | 2015-07-30 |
| | | | | For better testability of listener. | ||
* | Made storagetest quicker. | Christian Mollekopf | 2015-07-30 |
| | |||
* | Made the pipeline an implementation detail of the resource. | Christian Mollekopf | 2015-07-30 |
| | | | | | This removes one dependency from the Listener and will allow us to test the Listener better. | ||
* | Forward revision updates through resource | Christian Mollekopf | 2015-07-28 |
| | |||
* | Moved listener to common | Christian Mollekopf | 2015-07-28 |
| | | | | So we can use it in tests as well. | ||
* | Test life queries in the generic facade | Christian Mollekopf | 2015-07-28 |
| | |||
* | Allow to inject a fake ResourceInstance | Christian Mollekopf | 2015-07-28 |
| | |||
* | Abstracted the storage so the facade can be tested. | Christian Mollekopf | 2015-07-27 |
| | |||
* | Moved storage access, adaptor conversion and index access to central | Christian Mollekopf | 2015-07-27 |
| | | | | place | ||
* | Don't set the current revision upon start. | Christian Mollekopf | 2015-07-27 |
| | | | | The client can simply read it from the database. | ||
* | Only query for new revisions. | Christian Mollekopf | 2015-07-27 |
| | | | | | Instead of clearing the result everytime we only query for the stuff that has changed. | ||
* | Removed hardcoded instance identifier | Christian Mollekopf | 2015-07-27 |
| | |||
* | Create numbered events | Christian Mollekopf | 2015-07-27 |
| | |||
* | Fixed client | Christian Mollekopf | 2015-07-27 |
| | |||
* | Less hardcoded names | Christian Mollekopf | 2015-07-27 |
| | |||
* | Fixed misleading function name | Christian Mollekopf | 2015-07-27 |
| | |||
* | Mode FacadeFactory to separate file, mutex protected it, and loaded | Christian Mollekopf | 2015-07-27 |
| | | | | | | | | resource The factory is potentially used from several queries simultaneously, so it's now mutex protected. Additionally we try to load the plugins directly in the factory. | ||
* | Test generic stuff separately from the dummyresource | Christian Mollekopf | 2015-07-27 |
| | |||
* | An easy way to switch between threaded and non-threaded query execution | Christian Mollekopf | 2015-07-23 |
| | |||
* | More trace messages | Christian Mollekopf | 2015-07-23 |
| | |||
* | Fixed the client, only optionally delete the db, and avoid constant | Christian Mollekopf | 2015-07-23 |
| | | | | | | model resets. We can now even start multiple clients. | ||
* | Separate test debug output a little | Christian Mollekopf | 2015-07-23 |
| | |||
* | Warning on command failure, null debugstream to ignore messages | Christian Mollekopf | 2015-07-23 |
| | |||
* | Immediately close the socket after a shutdown notification. | Christian Mollekopf | 2015-07-23 |
| | | | | | | | | Otherwise it can happen that the synchronizer receives the shutdown command from a ResourceAccess instance, and while the synchronizer waits for quit to be called, a new ResourceAccess instance already connects to the synchronizer. That new connection will then of course be unexpectedly killed once quit is called in the synchronizer. | ||
* | Debuginfo | Christian Mollekopf | 2015-07-23 |
| | |||
* | Copy the identifier as well. | Christian Mollekopf | 2015-07-23 |
| | | | | Otherwise the value could silently start to point to invalid memory. | ||
* | Copy constructor for domain-type | Christian Mollekopf | 2015-07-23 |
| | | | | QByteArrays cannot be copied bytewise | ||
* | Fixed build | Christian Mollekopf | 2015-07-23 |
| | |||
* | Call callbacks for already completed commands before aborting | Christian Mollekopf | 2015-07-23 |
| | |||
* | Deal with non-existing index | Christian Mollekopf | 2015-07-23 |
| | |||
* | Avoid slots being called after the clients have been cleaned up already. | Christian Mollekopf | 2015-07-23 |
| | | | | | It is possible that the clientDropped slot is called when we close the socket, so better disconnect everythign first. | ||
* | Avoid warning about running jobs. | Christian Mollekopf | 2015-07-23 |
| | | | | | | "Left jobs running while shutting down ResourceAccess", happens because the shutdown command destroys the instance before the method can clean up. | ||
* | Give up after trying to connect for a while | Christian Mollekopf | 2015-07-23 |
| | |||
* | Pass command around as QByteArray | Christian Mollekopf | 2015-07-23 |
| | | | | | | | Simpler api, GenericResource didn't honor size anyways, and we copy the command for now to avoid sideeffects of data coming in in the meantime (although that should generally work since data is always appended). | ||
* | Removed one extra codepath | Christian Mollekopf | 2015-07-23 |
| | | | | That was an optimization anyways | ||
* | Immediately start reading if there is data available | Christian Mollekopf | 2015-07-20 |
| |