Closed alexschneider closed 9 years ago
Once you start transaction, you cant kick any other command trough this connection untill it is finished, All commands you send, have to go trough transactions. Can you check whenever this is issue in your code?
Issue is as I expected, that set was executed before transaction completes trough connection handler. patch : https://github.com/ra1u/pub-search-engine/commit/8845b5acb34f2061afc58be487754b616727e7f1
Latest master version throw error if original Command is used during transaction at point where Command is used.
While building my app here: https://github.com/alexschneider/pub-search-engine
I decided to use this redis library because it has support for transactions, unlike the other one.
However, it appears that transactions fail with the exception:
or if run in checked mode:
You can replicate my results by cloning my repo,
cd
ing tobin/
and runningdart server.dart
.It appears to be an off by one error somewhere, when I checked in the debugger,
list
had one more item than_queue
, and that the first two items appeared to be"OK"
inlist
, not sure if there's an extra"OK"
in there or not...