fix hincrbyfloat not to create a key if the new value is invalid#11149
fix hincrbyfloat not to create a key if the new value is invalid#11149oranagra merged 3 commits intoredis:unstablefrom
Conversation
enjoy-binbin
left a comment
There was a problem hiding this comment.
can you add some top comment to describe the problem?
didn't bother to read through the code
|
indeed. a detailed comment would help. @chendq8 please update. however, i don't think i like the way to fixed it (changing hashTypeLookupWriteOrCreate to it's components). it does mean that we'll affect the error, e.g. cases that in the past would result with WRONGTYPE, will now be rejected with the NaN/Inf error, but i don't think that's an issue. |
The implementation mode has been modified. |
Co-authored-by: Binbin <[email protected]>
) Check the validity of the value before performing the create operation, prevents new data from being generated even if the request fails to execute. Co-authored-by: Oran Agra <[email protected]> Co-authored-by: chendianqiang <[email protected]> Co-authored-by: Binbin <[email protected]> (cherry picked from commit bc7fe41) (cherry picked from commit 606a385)
) Check the validity of the value before performing the create operation, prevents new data from being generated even if the request fails to execute. Co-authored-by: Oran Agra <[email protected]> Co-authored-by: chendianqiang <[email protected]> Co-authored-by: Binbin <[email protected]> (cherry picked from commit bc7fe41)
) Check the validity of the value before performing the create operation, prevents new data from being generated even if the request fails to execute. Co-authored-by: Oran Agra <[email protected]> Co-authored-by: chendianqiang <[email protected]> Co-authored-by: Binbin <[email protected]> (cherry picked from commit bc7fe41) (cherry picked from commit 606a385) (cherry picked from commit 7df23a5)
…is#11149) Check the validity of the value before performing the create operation, prevents new data from being generated even if the request fails to execute. Co-authored-by: Oran Agra <[email protected]> Co-authored-by: chendianqiang <[email protected]> Co-authored-by: Binbin <[email protected]>
…is#11149) Check the validity of the value before performing the create operation, prevents new data from being generated even if the request fails to execute. Co-authored-by: Oran Agra <[email protected]> Co-authored-by: chendianqiang <[email protected]> Co-authored-by: Binbin <[email protected]>
Check the validity of the value before performing the create operation, prevents new data from being generated even if the request fails to execute.