Commit Graph

13 Commits

Author SHA1 Message Date
Roman Gershman c533ffb692 switch back to dict implementation for set due to sscan command 2022-03-22 20:53:54 +02:00
Roman Gershman 5bce920308 Add ZREMRANGEBYSCORE and ZREMRANGEBYRANK commands 2022-03-19 15:22:40 +02:00
Roman Gershman 81ffb189ef Optimize ascii_pack in debug mode 2022-03-12 12:06:32 +02:00
Roman Gershman d5281721bd Add OUT_OF_MEMORY status.
make sure that low-level allocators throw bad_alloc to allow handling oom situations.
database level does not yet incorporate any OOM logic.
2022-03-11 12:20:25 +02:00
Roman Gershman 92475dd47a Unify mimalloc memory management 2022-03-10 19:29:41 +02:00
Roman Gershman c94d109cff Use FlatSet for Redis SETS
Add FlatSet data structure.
Use FlatSet and get rid of t_set functions.
Fix Hash bug. Add memory comparison test
2022-03-05 20:20:30 +02:00
Roman Gershman a58ed46f1e compact_object cleanups 2022-03-04 22:08:02 +02:00
Roman Gershman b3e5730377 Add some hash set commands 2022-03-03 09:34:53 +02:00
Roman Gershman 28a2db1044 Implement hset method 2022-03-02 19:06:49 +02:00
Roman Gershman 7ffbadd305 Add t_hash.c file.
Add some compact_object tests for set,hset,zset interfaces.
Enable memory leak checking for mimalloc allocator in compact_object_test.
2022-03-01 12:35:07 +02:00
Roman Gershman f255d17a72 Add decorators for commands like ROLE,BGSAVE,UNLINK. Improve memory usage tracking 2022-02-28 17:36:45 +02:00
Roman Gershman 668a51cafa Add most of SET commands (SADD, SCARD etc). Add set_family_test 2022-02-27 22:44:22 +02:00
Roman Gershman b8521828e3 Add Dockerfile for prod container. Reorganize source tree to be docker-build friendly. 2022-02-25 10:03:42 +02:00