Changed to return error for functions related to Get.
Also, GetMulti in Redis uses a pipeline to search efficiently.
Type of change
[x] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
$ patch -p1 < test.patch
$ make clean-integration && make build-integration
$ make fetch-rdb && make fetch-redis
$ make diff-server-rdb && make diff-server-redis && maek diff-server-rdb-redis
# Checklist:
You don't have to satisfy all of the following.
- [ ] Write tests
- [ ] Write documentation
- [x] Check that there aren't other open pull requests for the same issue/feature
- [x] Format your source code by `make fmt`
- [x] Pass the test by `make test`
- [x] Provide verification config / commands
- [x] Enable "Allow edits from maintainers" for this PR
- [x] Update the messages below
***Is this ready for review?:*** YES
# Reference
What did you implement:
Changed to return error for functions related to Get. Also, GetMulti in Redis uses a pipeline to search efficiently.
Type of change
How Has This Been Tested?
git checkout upstream/master @git reset --hard go build -ldflags "$(LDFLAGS)" -o integration/exploitdb.old git checkout $(BRANCH) @@ -109,26 +109,26 @@ fetch-redis: integration/exploitdb.new fetch githubrepos --dbtype redis --dbpath "redis://127.0.0.1:6380/0"
diff-cveid:
@ python integration/diff_server_mode.py cveids --sample_rate 1.00
diff-uniqueid:
@ python integration/diff_server_mode.py uniqueids --sample_rate 1.00
diff-server-rdb: integration/exploitdb.old server --dbpath=$(PWD)/integration/go-exploitdb.old.sqlite3 --port 1325 > /dev/null 2>&1 & integration/exploitdb.new server --dbpath=$(PWD)/integration/go-exploitdb.new.sqlite3 --port 1326 > /dev/null 2>&1 &
@ python integration/diff_server_mode.py uniqueid --sample_rate 1.00 pkill exploitdb.old pkill exploitdb.new
diff-server-redis: integration/exploitdb.old server --dbtype redis --dbpath "redis://127.0.0.1:6379/0" --port 1325 > /dev/null 2>&1 & integration/exploitdb.new server --dbtype redis --dbpath "redis://127.0.0.1:6380/0" --port 1326 > /dev/null 2>&1 &