summaryrefslogtreecommitdiffstats
path: root/common/store.cpp
Commit message (Collapse)AuthorAge
* Let the preprocessor repeat the types.Christian Mollekopf2016-12-08
|
* Fix copy constructor of SyncScopeChristian Mollekopf2016-12-06
| | | | | We used to loose the resource list and thus erroneously sync all available resources.
* Debug outputChristian Mollekopf2016-12-06
|
* Copy command and proper moveChristian Mollekopf2016-12-04
|
* interresource moveChristian Mollekopf2016-12-02
|
* CleanupChristian Mollekopf2016-11-29
|
* Added the flush command.Christian Mollekopf2016-11-25
| | | | | | | Instead of trying to actually flush queues, we send a special command through the same queues as the other commands and can thus guarantee that the respective commands have been processed without blocking anything.
* Never remove the static facades.Christian Mollekopf2016-11-22
| | | | This fixes the clientapitest.
* sinksh list identity supportChristian Mollekopf2016-11-21
|
* Implement debug stream operators for query.Christian Mollekopf2016-11-07
|
* User querybaseChristian Mollekopf2016-11-04
|
* Don't expose the live query flag directly.Christian Mollekopf2016-11-04
|
* Error propagation works in kasync now.Christian Mollekopf2016-11-04
|
* Refactor how the storage is used.Christian Mollekopf2016-10-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the initial refactoring to improve how we deal with the storage. It does a couple of things: * Rename Sink::Storage to Sink::Storage::DataStore to free up the Sink::Storage namespace * Introduce a Sink::ResourceContext to have a single object that can be passed around containing everything that is necessary to operate on a resource. This is a lot better than the multiple separate parameters that we used to pass around all over the place, while still allowing for dependency injection for tests. * Tie storage access together using the new EntityStore that directly works with ApplicationDomainTypes. This gives us a central place where main storage, indexes and buffer adaptors are tied together, which will also give us a place to implement external indexes, such as a fulltextindex using xapian. * Use ApplicationDomainTypes as the default way to pass around entities. Instead of using various ways to pass around entities (buffers, buffer adaptors, ApplicationDomainTypes), only use a single way. The old approach was confusing, and was only done as: * optimization; really shouldn't be necessary and otherwise I'm sure we can find better ways to optimize ApplicationDomainType itself. * a way to account for entities that have multiple buffers, a concept that I no longer deem relevant. While this commit does the bulk of the work to get there, the following commits will refactor more stuff to get things back to normal.
* Revert "Error propagation should work now."Christian Mollekopf2016-10-07
| | | | This reverts commit b7fc5fa09a90ec383b58d846533b2b38ba7c577e.
* Error propagation should work now.Christian Mollekopf2016-10-06
|
* A better resource filter apiChristian Mollekopf2016-10-05
|
* Specify base set as part of the filter stages in the query.Christian Mollekopf2016-10-05
|
* Resource subqueriesChristian Mollekopf2016-10-04
|
* Only call fetch once on the aggregate fetcher.Christian Mollekopf2016-10-04
| | | | Otherwise we end up executing the initial query multiple times.
* Don't hardcode the type property.Christian Mollekopf2016-09-27
|
* Ported to the kasync revampChristian Mollekopf2016-09-15
|
* Fixed new diagnostics errorsChristian Mollekopf2016-07-13
|
* React to new resourcesChristian Mollekopf2016-07-12
|
* Wait for the resource shutdown during removeFromDiskChristian Mollekopf2016-07-12
| | | | Otherwise we risk failing jobs if they are sent to the old resource.
* Centrally define global typesChristian Mollekopf2016-07-11
|
* A new debug system.Christian Mollekopf2016-07-07
| | | | | | | | | | | | | | | Instead of a single #define as debug area the new system allows for an identifier for each debug message with the structure component.area. The component is a dot separated identifier of the runtime component, such as the process or the plugin. The area is the code component, and can be as such defined at compiletime. The idea of this system is that it becomes possible to i.e. look at the output of all messages in the query subsystem of a specific resource (something that happens in the client process, but in the resource-specific subcomponent). The new macros are supposed to be less likely to clash with other names, hence the new names.
* Synchronous APIChristian Mollekopf2016-06-15
|
* Workaround for missing error propagation of eachChristian Mollekopf2016-05-22
|
* Deal with null results (as provided by the mailtransport)Christian Mollekopf2016-05-09
|
* Don't call setFinished twiceChristian Mollekopf2016-05-06
| | | | setError already does that for us.
* Account filter for resources and contains comparator in queryChristian Mollekopf2016-05-01
|
* Don't encode the resource type into the identifierChristian Mollekopf2016-04-17
|
* Fixed identity lookupChristian Mollekopf2016-04-13
|
* Register the Identity typeChristian Mollekopf2016-04-13
|
* Allow clients to request a temporary file for BLOB propertiesChristian Mollekopf2016-04-10
|
* Fixed operations on accounts and resourcesChristian Mollekopf2016-03-17
|
* Fixed accounts supportChristian Mollekopf2016-03-15
|
* Support syncing all resourcesChristian Mollekopf2016-03-15
|
* Fromatted the whole codebase with clang-format.Christian Mollekopf2016-03-03
| | | | clang-format -i */**{.cpp,.h}
* Fetch more data on demandChristian Mollekopf2016-02-20
| | | | | | | | We skip values we've already seen and only retrieve the new ones. This currently only properly works in a non-live query and we don't give the model any feedback when we can't fetch more data anymore. However, it generally works and we get the desired effect.
* Reuse ResourceAccess where we canChristian Mollekopf2016-02-13
|
* Adapt to latest kasync versionChristian Mollekopf2016-02-10
|
* Moved Store to separate fileChristian Mollekopf2016-02-10