aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/learn_cache/redis_cache.c
Commit message (Collapse)AuthorAgeFilesLines
* [Rework] Start rewriting of the redis cache logicVsevolod Stakhov2024-01-111-535/+0
|
* changed errors to warnings.laodc2023-08-211-3/+1
| | | | nullptr on contructor was never meant to be there
* Added support for Redis 6 ACL (username/password)laodc2023-08-211-1/+20
|
* [Rework] More steps to do refactoringVsevolod Stakhov2023-08-161-4/+4
|
* [Rework] Use clang-format to unify formatting in all sourcesVsevolod Stakhov2023-07-261-164/+162
| | | | No meaningful changes.
* Spelling (#4086)Josh Soref2022-02-221-3/+3
| | | [Rework] Massive spelling fix from @jsoref
* [Minor] Improve logging for REDIS_REPLY_ERRORVsevolod Stakhov2021-04-211-1/+5
|
* [Feature] Support multiple base32 alphabetsVsevolod Stakhov2020-04-091-1/+1
|
* [Minor] Zero terminate id stringVsevolod Stakhov2020-03-111-3/+8
|
* [Minor] Oops, remove g_free dtorVsevolod Stakhov2020-03-111-1/+1
|
* [Minor] Allocate variable in the pool and avoid mallocVsevolod Stakhov2020-03-101-1/+4
|
* [Minor] Add failure reason in the upstreams codeVsevolod Stakhov2019-11-131-3/+3
|
* [Minor] Do not crash if redis cache cannot be reachedVsevolod Stakhov2019-10-221-1/+1
|
* [Fix] Important hiredis fixesVsevolod Stakhov2019-10-221-1/+16
| | | | | | | | | Hiredis can return error in two ways: - ctx is NULL and this path is usually handled properly - ctx->err is not REDIS_OK and this path is totally missing in many places This change should fix the both cases.
* [Project] Adopt libstat codeVsevolod Stakhov2019-07-121-1/+2
|
* [Project] Further reworkVsevolod Stakhov2019-06-221-16/+11
|
* [Project] First refactoring step libevent->libevVsevolod Stakhov2019-06-221-3/+3
|
* [Fix] Core: Fix address rotation bugVsevolod Stakhov2019-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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] Do not use item in classifiers as it causes issuesVsevolod Stakhov2018-11-241-9/+0
| | | | Issue: #2636
* [Project] Migrate fuzzy redis backend to lua_redisVsevolod Stakhov2018-11-231-1/+3
|
* [Project] Use lua_redis for redis_cache as wellVsevolod Stakhov2018-11-231-109/+97
|
* [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-5/+7
|
* [Project] Adopt C modules and stuffVsevolod Stakhov2018-10-201-2/+15
|
* [Minor] Fix event pending checksVsevolod Stakhov2018-10-061-1/+1
|
* [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/+8
|
* [Feature] Distinguish IP failures from connection failuresVsevolod Stakhov2018-07-021-3/+3
|
* [Minor] Allow to parse integer database names for RedisVsevolod Stakhov2018-03-191-1/+6
| | | | | Issue: #2083 Closes: #2083
* [Minor] Final stage of g_slice removalVsevolod Stakhov2017-10-291-2/+2
|
* [Rework] Set token data as uint64_t instead of chars arrayVsevolod Stakhov2017-04-041-1/+2
|
* [Minor] Add support for unix connections for redis stats backendVsevolod Stakhov2016-12-301-2/+9
|
* [Fix] Fix autolearning errors and redis cacheVsevolod Stakhov2016-10-141-2/+2
|
* [Feature] Read redis backend statistics configuration from global sectionVsevolod Stakhov2016-08-181-0/+21
| | | | Issue: #766
* [Fix] Fix timeouts in redis cache processingVsevolod Stakhov2016-07-131-16/+38
|
* [Feature] More sane configuration for redis statisticsVsevolod Stakhov2016-03-161-71/+80
|
* Some fixes to the previous commitVsevolod Stakhov2016-02-251-13/+13
|
* Add auth support and db selection for redis statsVsevolod Stakhov2016-02-251-0/+50
|
* Refactor UCL APIVsevolod Stakhov2016-02-161-5/+5
|
* Don't fail stats when pre-results are setVsevolod Stakhov2016-02-121-1/+8
|
* Switch the rest to apache 2Vsevolod Stakhov2016-02-041-21/+12
|
* Fix stupid misprintVsevolod Stakhov2016-01-161-2/+2
|
* Fix redis cache config as wellVsevolod Stakhov2016-01-161-17/+28
|
* Fix include path for embedded hiredisVsevolod Stakhov2016-01-111-2/+2
|
* Enable per-users learn cacheVsevolod Stakhov2016-01-111-0/+7
|
* Fix queryVsevolod Stakhov2016-01-111-1/+1
|
* Rework cache API slightlyVsevolod Stakhov2016-01-111-4/+2
|
* Implement redis cache operationsVsevolod Stakhov2016-01-111-5/+101
|
* Write initialization for redis cacheVsevolod Stakhov2016-01-111-3/+200
|