summaryrefslogtreecommitdiffstats
path: root/store/sqlstore/store_test.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-11886: materialize channel search (#9349)Jesse Hallam2018-09-131-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | * materialize PublicChannels table Introduce triggers for each supported database that automatically maintain a subset of the Channels table corresponding to only public channels. This improves corresponding queries that no longer need to filter out 99% DM channels. This initial commit modifies the channel store directly for easier code reviewing, but the next wraps an experimental version around it to enable a kill switch in case there are unforeseen performance regressions. This addresses [MM-11886](https://mattermost.atlassian.net/browse/MM-11886) and [MM-11945](https://mattermost.atlassian.net/browse/MM-11945). * extract the experimental public channels materialization Wrap the original channel store with an experimental version that leverages the materialized public channels, but can be disabled to fallback to the original implementation. This addresses MM-11947. * s/ExperimentalPublicChannelsMaterialization/EnablePublicChannelsMaterialization/ * simplify error handling * move experimental config listener until after store is initialized
* Structured logging (#8673)Christopher Speller2018-04-271-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implementing structured logging * Changes to en.json to allow refactor to run. * Fixing global logger * Structured logger initalization. * Add caller. * Do some log redirection. * Auto refactor * Cleaning up l4g reference and removing dependancy. * Removing junk. * Copyright headers. * Fixing tests * Revert "Changes to en.json to allow refactor to run." This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026. * Fixing some auto refactor strangeness and typo. * Making keys more human readable.
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-311-2/+0
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* Use tmpfs containers for api/api4 tests, move and speed up CLI tests (#7606)Chris2017-10-121-3/+0
| | | | | | | | | | | | * use tmpfs containers for api/api4, move and speed up cli tests * minor optimizations * add missing files, fix pre-existing race condition * add . to TestMain check * add requested log message
* Miscellaneous app cleanup (#7594)Chris2017-10-091-2/+6
| | | | | | | | | | | | * app cleanup * whoops, forgot a file * some minor cleanup * longer container deadline * defensive checks
* store/sqlstore cleanup and postgres tests (#7595)Chris2017-10-091-8/+96
| | | | | | | | | | * sqlstore cleanup / postgres tests * remove stopped containers * cmd/platform compile fix * remove test-postgres target from makefile
* store/storetest package (#7588)Chris2017-10-061-130/+4
| | | | | | * prerequisites * storetest package
* Move sql store code into store/sqlstore package (#7502)Chris2017-09-251-0/+151
* move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp