aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/backends/redis_backend.c
Commit message (Collapse)AuthorAgeFilesLines
* [Feature] Improve autolearningVsevolod Stakhov2019-07-241-0/+26
|
* [Fix] Statistics: Do not query Redis tokens when there are no learnsVsevolod Stakhov2019-07-091-78/+139
|
* [Minor] Try to fix cmake stupidityVsevolod Stakhov2019-06-251-11/+10
|
* [Minor] Fix repeat when restarting timerVsevolod Stakhov2019-06-241-0/+2
|
* [Minor] Fix some missing userdataVsevolod Stakhov2019-06-221-0/+2
|
* [Project] Adopt normal worker and contorllerVsevolod Stakhov2019-06-221-4/+1
|
* [Project] More reworkVsevolod Stakhov2019-06-221-1/+1
|
* [Project] Refactor more, use ev_stat for cdb watchingVsevolod Stakhov2019-06-221-22/+24
|
* [Project] First refactoring step libevent->libevVsevolod Stakhov2019-06-221-8/+8
|
* [Fix] Do not use lightuserdata for tracebackVsevolod Stakhov2019-05-241-5/+3
| | | | | | | | | | LuaJIT limits lightuserdata usage to 47 bits. On Arm64, this leads to break of the C <-> Lua interoperability using this type. This rework has changed traceback function behaviour from lightuserdata opaque pointer (GString * in particular) to luaL_Buffer. Issue: #2906
* [Fix] Core: Fix address rotation bugVsevolod Stakhov2019-02-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | Previously, upstream.get_addr function returned the new address of the upstream. Unfortunately, it was used for printing addresses. It caused the following situation: let's imagine we have A1 and A2 where A1 was initially selected. So the connection was performed to A1: Current addr Selected addr Connect+---------+ A2+------>A1 A1 | +-+Print failure<---+ A1+------>A2 A2 | +----+ +->Mark failure+-------->+ A2 | +----+ But the failure OP as well as log message told about `A2` where the real problem happened with `A1`. This commit adds distinguishing between getting the next and the current address of the upstream resolving this issue.
* [Minor] Stat: Fail-safety fix for object expansionVsevolod Stakhov2019-02-111-9/+3
|
* [Minor] Stat: Set more sane default prefix when users scripts are setVsevolod Stakhov2019-02-111-1/+1
|
* [Project] Finish basic tasks in new unicode projectVsevolod Stakhov2018-11-251-6/+6
|
* [Minor] Do not use item in classifiers as it causes issuesVsevolod Stakhov2018-11-241-11/+0
| | | | Issue: #2636
* [Project] Use lua_redis to configure servers in bayes Redis backendVsevolod Stakhov2018-11-231-107/+97
|
* [Minor] Don't learn classifiers where expansion failsVsevolod Stakhov2018-11-101-3/+20
|
* [Project] Another rework for symbols cacheVsevolod Stakhov2018-10-291-2/+2
|
* [Rework] Add more traces to async events, get rid of GQuarksVsevolod Stakhov2018-10-261-8/+7
|
* [Project] Adopt C modules and stuffVsevolod Stakhov2018-10-201-2/+15
|
* [Minor] Fix event pending checksVsevolod Stakhov2018-10-061-6/+6
|
* [Fix] Fix more issues with watching of async eventsVsevolod Stakhov2018-09-121-4/+2
|
* [Fix] Fix crashes on task cleanupVsevolod Stakhov2018-09-101-2/+2
|
* [Fix] Add fail-safety for destroying sessionsVsevolod Stakhov2018-08-141-0/+7
|
* [Minor] Fix crashVsevolod Stakhov2018-07-191-3/+5
| | | | Issue: #2354
* [Minor] Add "stat_redis" debug moduleVsevolod Stakhov2018-07-181-2/+8
|
* [Fix] Set classifier version on learningVsevolod Stakhov2018-07-181-0/+3
|
* [Feature] Distinguish IP failures from connection failuresVsevolod Stakhov2018-07-021-5/+6
|
* [Minor] Avoid overriding of GError if Redis is unavailableVsevolod Stakhov2018-04-201-12/+21
|
* [Minor] Some stats logic update for the new schemaVsevolod Stakhov2018-04-061-11/+20
|
* [Minor] Allow to parse integer database names for RedisVsevolod Stakhov2018-03-191-1/+6
| | | | | Issue: #2083 Closes: #2083
* [Minor] Add modules to configwizardVsevolod Stakhov2018-02-221-0/+4
|
* [Minor] Fix Redis queryVsevolod Stakhov2018-02-121-2/+4
|
* [Fix] Fix learn errors propagationVsevolod Stakhov2018-02-121-13/+2
|
* [Fix] Propagate learn/stat errors more preciselyVsevolod Stakhov2018-02-121-3/+47
|
* [Fix] Fix learned count in new schemaVsevolod Stakhov2018-02-121-7/+41
|
* [Fix] Fix parsing of the per-user scriptVsevolod Stakhov2017-11-201-20/+29
| | | | | Issue: #1843 MFH: rspamd-1.6
* [Minor] Further portion of g_slice eliminationVsevolod Stakhov2017-10-281-6/+6
|
* [Fix] Fix loading of per-user redis backend for statisticsVsevolod Stakhov2017-09-231-35/+33
| | | | | Issue: #1843 Closes: #1843
* [Minor] Move stats signatures generation to tokenization stageVsevolod Stakhov2017-07-111-30/+5
|
* [Minor] Free memoryVsevolod Stakhov2017-07-081-0/+2
|
* [Feature] Implement bayes signatures storageVsevolod Stakhov2017-07-081-1/+120
|
* [Minor] Do not overlap expiry and store_tokensVsevolod Stakhov2017-06-051-21/+20
|
* [Minor] Fix store_tokens in new bayes layoutVsevolod Stakhov2017-06-051-20/+43
|
* [Minor] Allow 'expire' alias for 'expiry'Vsevolod Stakhov2017-05-181-1/+1
|
* [Minor] Fix some issues around new schemaVsevolod Stakhov2017-05-181-7/+21
|
* [Feature] Add new schema for bayes tokensVsevolod Stakhov2017-05-181-41/+157
|
* [Feature] Allow storing bayes tokens in RedisVsevolod Stakhov2017-04-241-2/+38
|
* [CritFix] Fix classifier learning with Redis backendVsevolod Stakhov2017-04-041-13/+59
|
* [Rework] Set token data as uint64_t instead of chars arrayVsevolod Stakhov2017-04-041-4/+2
|