Skip to content

JSON.INSERTARR backward compatability for 1.0 - #343

Merged
gkorland merged 6 commits into
masterfrom
arr_index
May 5, 2021
Merged

gkorland merged 6 commits into
masterfrom
arr_index

Conversation

@gkorland

@gkorland gkorland commented May 4, 2021

Copy link
Copy Markdown
Contributor

fix #286

@gkorland
gkorland requested review from gavrie and oshadmi May 4, 2021 14:25
@gkorland gkorland changed the title backward compatability for 1.0 JSON.INSERTARR backward compatability for 1.0 May 4, 2021

@gavrie gavrie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a classical case where having a test that fails before the fix and passes afterwards would be desirable.

@gkorland

gkorland commented May 4, 2021

Copy link
Copy Markdown
Contributor Author

@gavrie the regression described in #286.
Anyway I added more tests that were missing.

Comment thread tests/pytest/test.py Resolved
Comment thread tests/pytest/test.py Resolved
@gkorland
gkorland requested review from gavrie and oshadmi May 4, 2021 20:02
@gkorland
gkorland merged commit 283ceae into master May 5, 2021
@gkorland
gkorland deleted the arr_index branch May 5, 2021 08:52
oshadmi added a commit that referenced this pull request May 5, 2021
* Update to Redis 6.2.2 (#332)

* Fix json.arrappend performance (#324)

* improve arr_pop, arr_insert & arr_trim performance 
* refactor do_json_* functions

* normalize index for backward (#327)

* normalize index for backward
* adpat for full backward with 1.0.x

* fix #318 (#333)

* CircleCI: macOS and benchmark fixes (#337)

* Update config.yml (#338)

* Add JSON.CLEAR command (#306)

* Restore optional path (default is $) for JSON.DEL

* Add JSON.CLEAR

* Handle JSON.CLEAR with $ path

* Add JSON.CLEAR - Fix failure in test:testSetInvalidPathShouldFail

* Idiomatic fixes per Gavrie review

Co-authored-by: Guy Korland <gkorland@gmail.com>

* Update RS_VERSIONS

last promoted builds

* Document flags for running tests

* fix arr_pop backward to 1.0 (#345)

* JSON.INSERTARR backward compatability for 1.0 (#343)

* Fix JSON.INSERTARR backward compatibility with 1.0.x
* Update test.py

* Fix build error
(use of undeclared crate or module `rawmod`)

* Fix format

Co-authored-by: Guy Korland <gkorland@gmail.com>
Co-authored-by: Omer Shadmi <76992134+oshadmi@users.noreply.github.com>
Co-authored-by: tomerhekredis <72793005+tomerhekredis@users.noreply.github.com>
Co-authored-by: Gavrie Philipson <gavrie@philipson.co.il>
Co-authored-by: oshadmi <omer.shadmi@redislabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSON.ARRINSERT regression?

3 participants