Commit Graph

9 Commits

Author SHA1 Message Date
Brett Hazen
9c170fb052 Merge remote-tracking branch 'basho/develop-2.2' into bch-merge-with-2.2 2016-03-23 13:12:41 -06:00
Mark Allen
aa757b40c2 Always ensure leveldb is the backend for 2i
(cherry picked from commit 472fb6447b)
2016-03-07 17:08:50 -05:00
Mark Allen
7ead9e02fe Prevent large negative integers as values
This is due to a sext encoding bug present in current riak releases.
When sext and riak has been updated with a fix, revert this commit.

(cherry picked from commit b5a0dd9737)
2016-03-07 17:08:50 -05:00
Engel A. Sanchez
477d0e78c9 Fleshed out but disabled http client support
The http client seems to have a lot of problems and works differently
than the PB client.  Index values are not coming back on a get, even
though a PB get returns them, so indexing is not working properly.
Binaries are not encoded properly when the query index URL is created,
and empty binaries are taken to mean "no value".

(cherry picked from commit 1c29f7fb43)
2016-03-07 17:08:50 -05:00
Engel A. Sanchez
55709dbb18 Clean up and improve
General clean up and organization, with an eye on making this a
template for other EQC tests.

Preparing code to handle more than the PB client.

(cherry picked from commit 02b5e2128d)
2016-03-07 17:08:50 -05:00
Engel A. Sanchez
4402a7b061 First EQC test for secondary indexing
It needs more love to match the functionality of the regular 2i tests,
but this is a good beginning. It can show a race in 2i pagination that
has been in the code for years. The race does not show up in run in a
single node with very few vnodes. I tried 32.  Ideally we could use
PULSE to make scheduling in the riak nodes less deterministic and help
find this kind of issue, but currently PULSE is a single node joint.

This test uses a different bucket for each EQC command run. It is not
perfect isolation, but it is good enough and very fast compared to
taking down the entire cluster in between each run.

(cherry picked from commit fa49385837)
2016-03-07 17:08:50 -05:00
Engel A. Sanchez
1c29f7fb43 Fleshed out but disabled http client support
The http client seems to have a lot of problems and works differently
than the PB client.  Index values are not coming back on a get, even
though a PB get returns them, so indexing is not working properly.
Binaries are not encoded properly when the query index URL is created,
and empty binaries are taken to mean "no value".
2015-08-11 23:12:11 -04:00
Engel A. Sanchez
02b5e2128d Clean up and improve
General clean up and organization, with an eye on making this a
template for other EQC tests.

Preparing code to handle more than the PB client.
2015-08-11 10:46:48 -04:00
Engel A. Sanchez
fa49385837 First EQC test for secondary indexing
It needs more love to match the functionality of the regular 2i tests,
but this is a good beginning. It can show a race in 2i pagination that
has been in the code for years. The race does not show up in run in a
single node with very few vnodes. I tried 32.  Ideally we could use
PULSE to make scheduling in the riak nodes less deterministic and help
find this kind of issue, but currently PULSE is a single node joint.

This test uses a different bucket for each EQC command run. It is not
perfect isolation, but it is good enough and very fast compared to
taking down the entire cluster in between each run.
2015-08-04 14:43:21 -04:00