Skip to content

Failure with enabled Sticky Bucketing #100

@denisov-vlad

Description

@denisov-vlad

There are empty args for redis mget command.

yarn run v1.22.22
$ wsrun -p @growthbook/proxy -c start
@growthbook/proxy
 | $ node dist/index.js
 | (node:48) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
 | (Use `node --trace-deprecation ...` to show where the warning was created)
 | (node:48) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
 | GrowthBook proxy running over HTTP1.1, port 3300
 | {"level":30,"time":1765448850390,"pid":48,"hostname":"1c8ed74ef249","msg":"SDK connections count: 8"}
 | {"level":30,"time":1765448850390,"pid":48,"hostname":"1c8ed74ef249","msg":"using in-memory cache"}
 | {"level":30,"time":1765448850391,"pid":48,"hostname":"1c8ed74ef249","msg":"cache refresh strategy: schedule"}
 | {"level":30,"time":1765448850391,"pid":48,"hostname":"1c8ed74ef249","msg":"using Redis sticky bucketing"}
 | /usr/local/src/app/node_modules/redis-parser/lib/parser.js:179
 |     return new ReplyError(string)
 |            ^
 |
 | ReplyError: ERR wrong number of arguments for 'mget' command
 |     at parseError (/usr/local/src/app/node_modules/redis-parser/lib/parser.js:179:12)
 |     at parseType (/usr/local/src/app/node_modules/redis-parser/lib/parser.js:302:14) {
 |   command: { name: 'mget', args: [] }
 | }
 |
 | Node.js v20.19.5
 | error Command failed with exit code 1.
 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
 | `yarn start` failed with exit code 1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

The biggest problem for me is that service stops working after receiving such error. I suppose it should work in general, but show warning messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions