You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected:
I'm calling the TS create function with the uncompressed argument set to false, expecting that it should create the TS with compression enabled.
Actual:
The TS is still created as uncompressed.
Notes:
In debugging with redis MONITOR I can see that specifying true or false still issues a TS.CREATE with the UNCOMPRESSED parameter set.
NRedisStack Version: 0.12.0
Description:
Expected:
I'm calling the TS create function with the uncompressed argument set to false, expecting that it should create the TS with compression enabled.
Actual:
The TS is still created as uncompressed.
Notes:
In debugging with redis MONITOR I can see that specifying true or false still issues a TS.CREATE with the UNCOMPRESSED parameter set.
It looks like the problem is with this function in TimeSeriesParamsBuilder where it is setting the UNCOMPRESSED option entirely based on the presence of the arg regardless of it's value.
https://github.com/redis/NRedisStack/blob/master/src/NRedisStack/TimeSeries/TimeSeriesParamsBuilder.cs#L109
Workaround:
Set the uncompressed argument to null
The text was updated successfully, but these errors were encountered: