Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Finally don't store dates along ref in sampled index | Minijackson | 2018-06-18 |
| | |||
* | Add overlap query | Minijackson | 2018-06-11 |
| | |||
* | Reduce the maximum database size to 200MB until we have fixed the lmdb | Christian Mollekopf | 2018-06-01 |
| | | | | | | | | | | | issues. https://phabricator.kde.org/T8723 With 200MB we can both deal with the 200MB files on disk, and we could even load all of them (the 5 databases the resource uses), into memory. Once the open problems are resolved we should be able to bump it back to at least 20GB. | ||
* | Avoid trying to remove an item that we don't have in the model. | Christian Mollekopf | 2018-06-01 |
| | | | | This triggered the assert in createIndexFromId. | ||
* | Cleanup | Christian Mollekopf | 2018-05-29 |
| | |||
* | Reduce the maximum database size to 10GB on windows. | Christian Mollekopf | 2018-05-29 |
| | |||
* | Only call the result handler if reading succeeded | Christian Mollekopf | 2018-05-29 |
| | |||
* | Fixed build with extra warnings. | Christian Mollekopf | 2018-05-28 |
| | |||
* | Implement ranged queries | Rémi Nicole | 2018-05-28 |
| | | | | | | | | | | | | | | | Summary: Notes: - For now, only for QDateTime indexes - Invalid QDateTimes are stored in the index (subject to change) - Should be a drop-in replacement from ValueIndexes (except for `In` and `Contains` queries) Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D13105 | ||
* | Document why we might be creating a db several times. | Christian Mollekopf | 2018-05-27 |
| | |||
* | Don't store references to temporarily valid data. | Christian Mollekopf | 2018-05-25 |
| | |||
* | We can't recover from not being able to open the database. | Christian Mollekopf | 2018-05-24 |
| | | | | | We'll only end up with defunctional processes that may or may not do anything useful. | ||
* | Get the mapsize from a separate function and check the error when | Christian Mollekopf | 2018-05-24 |
| | | | | setting it. | ||
* | Fixed a bunch of warnings | Christian Mollekopf | 2018-05-24 |
| | |||
* | Return number of retrieved values. | Christian Mollekopf | 2018-05-24 |
| | |||
* | Add findAllInRange function in the storage layer | Rémi Nicole | 2018-05-24 |
| | | | | | | | | | | | | | | | | | Summary: In preparation of the support for ranged queries. Notes: Since they are pretty similar, it could be nice to refactor `scan` and `findAllInRange` to use common 3rd function Test Plan: This is tested in storagetest.cpp Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D13066 | ||
* | We were off by a factor of 10 | Christian Mollekopf | 2018-05-24 |
| | | | | | It's possible that we therefore went over the virtual address space limit on windows which is 128GB. | ||
* | Opening dbis may fail in read-only mode | Christian Mollekopf | 2018-05-24 |
| | |||
* | I think those variables should just be static | Christian Mollekopf | 2018-05-24 |
| | |||
* | We need an extern declaration for non-static variables. | Christian Mollekopf | 2018-05-23 |
| | | | | Or so says the compiler. | ||
* | DbLayout support for indexes | Christian Mollekopf | 2018-05-23 |
| | |||
* | Fixed use of mdb_dbi_open | Christian Mollekopf | 2018-05-23 |
| | | | | | | | | | | | | | | | | | | | | There can only ever be one transaction using mdb_dbi_open running, and that transaction must commit or abort before any other transaction attempts to use mdb_dbi_open. Use delayed dbi merging with write transactions and a temporary transaction for read transactions. We now protect dbi initialization with a mutex and immediately update the sDbis hash. This assumes that the created dbis are indeed We can still violate the only one transaction may use mdb_dbi_open rule if we start a read-only transaction after the write transaction, before the write transaction commits. It does not seem to be something we actually do though. Opening dbis on environment init is further separated out, so we don't end up in the regular openDatabase codepath at all. | ||
* | Assert that we have a QGuiApplication if we crash otherwise. | Christian Mollekopf | 2018-05-20 |
| | |||
* | Flush before closing to make sure all data is written. | Christian Mollekopf | 2018-05-20 |
| | | | | Required on windows in resourceconfigtest. | ||
* | Read all remaining data before closing down the socket. | Christian Mollekopf | 2018-05-20 |
| | | | | We run into this on windows with the resourceconfigtest. | ||
* | Actually close the lmdb environment before removing from disk. | Christian Mollekopf | 2018-05-20 |
| | | | | Otherwise removal doesn't work on windows due to open file handles. | ||
* | Fixed debug output printing on windows | Christian Mollekopf | 2018-05-19 |
| | |||
* | Exports for windows | Christian Mollekopf | 2018-05-19 |
| | |||
* | Debug message for how we start the resource process. | Christian Mollekopf | 2018-05-18 |
| | |||
* | sDebugStream now supports debug messages on windows. | Christian Mollekopf | 2018-05-18 |
| | |||
* | Don't use color on windows was the idea. | Christian Mollekopf | 2018-05-18 |
| | |||
* | Log to OutputDebugString on windows | Christian Mollekopf | 2018-05-18 |
| | |||
* | Skip change-replay for already removed entites. | Christian Mollekopf | 2018-05-18 |
| | | | | | This is required to be able to resolve change-replay failures by removing the entity. | ||
* | Improved error messages | Christian Mollekopf | 2018-05-18 |
| | |||
* | A lot less namespace typing. | Christian Mollekopf | 2018-05-17 |
| | |||
* | Copy the entity when we return it. | Christian Mollekopf | 2018-05-17 |
| | | | | | Otherwise we easily end up copying it and then have an entity that points into nowhere. Callback -> no copy, no callback -> copy. | ||
* | Fixed last commit | Christian Mollekopf | 2018-05-17 |
| | |||
* | Avoid printing megabytes of data to the console. | Christian Mollekopf | 2018-05-17 |
| | |||
* | Caught another case of empty uid in readEntity | Christian Mollekopf | 2018-05-17 |
| | |||
* | Fixed a readEntity call with empty uid | Christian Mollekopf | 2018-05-17 |
| | | | | | | Filtered entites are still passed through as removal, but if there is no other value for the reduction, the reduction result is empty. | ||
* | Better debug messages if the command is too small | Christian Mollekopf | 2018-05-16 |
| | |||
* | Print to QDebug on windows | Christian Mollekopf | 2018-05-16 |
| | |||
* | mdb_env_set_mapsize should be called after create but before open | Christian Mollekopf | 2018-05-15 |
| | | | | according to the docs. | ||
* | Try a bit harder to ensure that env always has a sane value. | Christian Mollekopf | 2018-05-15 |
| | |||
* | Apparently that export was one to much for windows | Christian Mollekopf | 2018-05-15 |
| | |||
* | More debug output when failing to load resource plugins. | Christian Mollekopf | 2018-05-15 |
| | |||
* | Build on windows | Christian Mollekopf | 2018-05-15 |
| | |||
* | Using findLatest with an empty uid is an error. | Christian Mollekopf | 2018-05-14 |
| | | | | | Seems to be happening sometimes, so that needs to be fixed once we find the cause. | ||
* | Add the "allDay" property to Event | Rémi Nicole | 2018-05-14 |
| | | | | | | | | | | | | | | Summary: Fixes T8698 Reviewers: cmollekopf Reviewed By: cmollekopf Tags: #sink Maniphest Tasks: T8698 Differential Revision: https://phabricator.kde.org/D12869 | ||
* | Avoid creating unnecessary rid mappings | Christian Mollekopf | 2018-05-14 |
| |