Skip to content

Fix bad exclusion of messagebus configuration option in redis connection - #330

Merged
tgxworld merged 1 commit into
discourse:mainfrom
Intrepidd:patch-1
Aug 10, 2023
Merged

tgxworld merged 1 commit into
discourse:mainfrom
Intrepidd:patch-1

Conversation

@Intrepidd

@Intrepidd Intrepidd commented Apr 28, 2023 •

Copy link
Copy Markdown
Contributor

Creating just a DRAFT PR for now to get insights.

I discovered it is impossible to use the group ids lookup feature alongside the redis backend as there is a typo in the exclusion list.

As stated by the comment, we should probably allowlist the params to be passed to redis rather then exclude some known ones. Maybe even better would be to have them in a separate redis_options hash but this would kill backwards compatibility.

Additionally, a regression spec is needed

Any idea which direction is preferred ?

henrik added a commit to henrik/message_bus that referenced this pull request May 4, 2023
As discussed in discourse#330, an allowlist would be better still.

This is preventing us from upgrading to Redis 5.
henrik added a commit to henrik/message_bus that referenced this pull request Jun 28, 2023
As discussed in discourse#330, an allowlist would be better still.

This is preventing us from upgrading to Redis 5.
@Intrepidd

Copy link
Copy Markdown
Contributor Author

@tgxworld Sorry to ping you on this one. I noticed you merged a similar PR

Are you fine with me just adding a changelog entry to be able to merge this PR ?

@tgxworld

Copy link
Copy Markdown
Contributor

Yes please :) Do add a changelog here and I'll be happy to merge this.

@Intrepidd
Intrepidd marked this pull request as ready for review August 10, 2023 08:24
@Intrepidd

Copy link
Copy Markdown
Contributor Author

Done !

@tgxworld
tgxworld merged commit 876bcea into discourse:main Aug 10, 2023
@tgxworld

Copy link
Copy Markdown
Contributor

Thank you @Intrepidd

@Intrepidd

Copy link
Copy Markdown
Contributor Author

Thanks! Do you think this is worth cutting a patch level release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants