Commit Graph

9 Commits

Author SHA1 Message Date
Roman Gershman e1c852dfcc Initial support for lua transactions.
Extend multi-transactions to scripts. Differentiate between incremental and instant locking
for multi-transactions.
2022-02-24 14:11:51 +02:00
Roman Gershman b1829c3fe0 Allow custom argument validators. Expand transaction argument parsing to commands like EVAL 2022-02-24 14:11:51 +02:00
Roman Gershman ab5031472e Small fixes
1. Remove CO::STALE modifier since it's not relevant for now.
2. Propertly wire CallFromScript function to be called from redis.call.
3. Define 3rd party lua dependency as part of dragonfly project.
4. Add ARGV/KEYS arrays to lua scripts
2022-02-24 14:11:51 +02:00
Roman Gershman 0cf2f57bf2 Fix expiry bug in AddOrFind function
Also add more test coverage.
Fix a bug where iterators might get invalidated between Renamer hops.
Initial work on BLPOP transaction.
2022-01-12 08:48:41 +02:00
Roman Gershman 35fa69c928 Add EXEC transaction support. Introduce dragonfly_test.cc 2022-01-06 15:48:51 +02:00
Roman Gershman 55ee0563b0 Consolidate generic commands under generic_family. Add Del, Echo, Ttl and select commands 2021-12-26 17:25:49 +02:00
Roman Gershman d7b22ca582 Add APACHE-2.0 license. Fix file headers everywhere 2021-11-28 09:29:26 +02:00
Roman Gershman 18525d2b5e Introduce some pipelining support.
Also some refactoring.
2021-11-24 14:09:53 +02:00
Roman Gershman bf714b1a64 Introduce command registry and dispatcher entry point.
Change set/ping commands to work with registry mapping.
Registry commands are defined according to redis spec.
2021-11-18 18:38:20 +02:00