StackExchange.Redis icon indicating copy to clipboard operation
StackExchange.Redis copied to clipboard

Streams Transaction Issue

Open askoutaris opened this issue 4 years ago • 2 comments

All methods inside RedisDatabase.cs which call ExecuteAsync with parameter 'T defaultValue' (eg StreamReadGroupAsync) does not work with transactions since there is no override ExecuteAsync with parameter 'T defaultValue' in RedisTransaction.cs and as a result ExecuteAsync of RedisBase.cs is used instead of RedisTransaction.cs

FYI: I downloaded the code and managed it to work by adding the overriden methods shown in the attached screenshot.

2022-06-21 17_49_48-RedisStreams - Microsoft Visual Studio Preview

askoutaris avatar Jun 21 '22 14:06 askoutaris

agreed, this looks like a problem; do you have any concrete examples of failure cases here? honestly, the best thing is probably to submit this as a PR including tests

mgravell avatar Jun 21 '22 15:06 mgravell

Thank you for your feedback! I'll try to find some time in the next days to study and follow all Github's procedures about branching and PR policies in order to help you with that.

askoutaris avatar Jun 22 '22 18:06 askoutaris