Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gears.dumpRegistrations() empty response in 2.19.* while not empty in 2.18.2 #20

Open
oalles opened this issue Jul 11, 2022 · 0 comments

Comments

@oalles
Copy link

oalles commented Jul 11, 2022

For this RG.DUMPREGISTRATIONS output:

1) 1) "id"
   2) "0000000000000000000000000000000000000000-1"
   3) "reader"
   4) "CommandReader"
   5) "desc"
   6) "null"
   7) "RegistrationData"
   8) 1) "mode"
      2) "async"
      3) "numTriggered"
      4) "0"
      5) "numSuccess"
      6) "0"
      7) "numFailures"
      8) "0"
      9) "numAborted"
      10) "0"
      11) "lastError"
      12) "null"
      13) "args"
      14) 1) "trigger"
         2) "GetPredictions"
   9) "PD"
   10) "{'sessionId':'0000000000000000000000000000000000000000-0', 'depsList':[{'name':'kats', 'basePath':'/var/opt/redislabs/modules/rg/.venv-/kats', 'wheels':['scipy-1.7.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl','MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl','kiwisolver-1.4.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl','pytest-7.1.2-py3-none-any.whl','setuptools_git-1.2-py2.py3-none-any.whl','importlib_resources-5.8.0-py3-none-any.whl','gpytorch-1.7.0-py2.py3-none-any.whl','numba-0.55.2-cp37-cp37m-manylinux2014_x86_64.manylinux_2_17_x86_64.whl','typeguard-2.13.3-py3-none-any.whl','plotly-5.9.0-py2.py3-none-any.whl','Cython-0.29.30-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl','seaborn-0.11.2-py3-none-any.whl','tomli-2.0.1-py3-none-any.whl','threadpoolctl-3.1.0-py3-none-any.whl','fonttools-4.34.4-py3-none-any.whl','pytz-2022.1-py2.py3-none-any.whl','pystan-2.19.1.1-cp37-cp37m-manylinux1_x86_64.whl','Pillow-9.2.0-cp37-cp37m-manylinux_2_28_x86_64.whl','setuptools-63.1.0-py3-none-any.whl','py-1.11.0-py2.py3-none-any.whl','ax_platform-0.2.4-py3-none-any.whl','python_dateutil-2.8.2-py2.py3-none-any.whl','importlib_metadata-4.12.0-py3-none-any.whl','Jinja2-3.1.2-py3-none-any.whl','scikit_learn-1.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl','holidays-0.14.2-py3-none-any.whl','korean_lunar_calendar-0.2.1-py3-none-any.whl','fbprophet-0.7.1-py3-none-any.whl','wrapt-1.14.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl','packaging-21.3-py3-none-any.whl','pluggy-1.0.0-py2.py3-none-any.whl','cmdstanpy-0.9.5-py3-none-any.whl','convertdate-2.4.0-py3-none-any.whl','cycler-0.11.0-py3-none-any.whl','pytest_mpl-0.16.0-py3-none-any.whl','LunarCalendar-0.0.9-py2.py3-none-any.whl','statsmodels-0.12.2-cp37-cp37m-manylinux1_x86_64.whl','typing_extensions-4.3.0-py3-none-any.whl','pyparsing-3.0.9-py3-none-any.whl','six-1.16.0-py2.py3-none-any.whl','ephem-4.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl','matplotlib-3.5.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl','pandas-1.3.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl','pymannkendall-1.4.2-py3-none-any.whl','numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl','joblib-1.1.0-py2.py3-none-any.whl','PyMeeus-0.5.11-py3-none-any.whl','tqdm-4.64.0-py2.py3-none-any.whl','tenacity-8.0.1-py3-none-any.whl','patsy-0.5.2-py2.py3-none-any.whl','torch-1.12.0-cp37-cp37m-manylinux1_x86_64.whl','parameterized-0.8.1-py2.py3-none-any.whl','Deprecated-1.2.13-py2.py3-none-any.whl','zipp-3.8.0-py3-none-any.whl','kats-0.2.0-py3-none-any.whl','multipledispatch-0.6.0-py3-none-any.whl','iniconfig-1.1.1-py2.py3-none-any.whl','hijri_converter-2.2.4-py3-none-any.whl','attrs-21.4.0-py2.py3-none-any.whl','llvmlite-0.38.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl','botorch-0.6.2-py3-none-any.whl']}]}"

Following Java code:

    @PostConstruct
    public void checkRGRegistrations() {

        RedisGearsCommands<String, String> gears = connection.sync();
        List<Registration> registrations = gears.dumpregistrations();

        Assert.isTrue(!registrations.isEmpty(), "registrations should not be empty");
    }

Completes when 2.18.2, Fails with 2.19.* dependencies :

<dependency>
    <groupId>com.redis</groupId>
    <artifactId>spring-lettucemod</artifactId>
    <version>2.19.*</version>
</dependency>
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

No branches or pull requests

1 participant