Ray Yan
Ray Yan
Please refer to https://github.com/tidb-incubator/tidis
This is not bug, just not implemented yet. More work should be done to support it. It will be helpful creating issues for future work. Thanks again.
Looking forward to your PRs. :-)
Please refer to https://github.com/tidb-incubator/tidis
Tidis is stateless indeed, but tidis need do something like requesting TIKV do GC which only execute in one instance.
Please refer to https://github.com/tidb-incubator/tidis
No. I think `hsetnx` return 0 is not a failure. `multi/exec` command behave gurantee all command executed in atomic without any error.
`hsetnx` return `0` is not error, it just return a value `0`, we treat it as normal. `multi/exec` acts the same as redis.
I think ERR will be rollbacked, and the value returned should be handled in some logical level code other than in a database. Of cause you can use your own...
For your case, I think tidis could add another group commands `begin/commit/rollback`, start a new transaction in `begin` other than start a new transaction in `exec`, return execute value other...