Skip to content

change: use a new name to customize lua_shared_dict in nginx.conf#5030

Merged
spacewander merged 2 commits into
apache:masterfrom
spacewander:ddsd
Sep 13, 2021
Merged

change: use a new name to customize lua_shared_dict in nginx.conf#5030
spacewander merged 2 commits into
apache:masterfrom
spacewander:ddsd

Conversation

@spacewander

Copy link
Copy Markdown
Member

The previous name is easy to mess up with another "lua_shared_dict"
configuration.

Signed-off-by: spacewander [email protected]

What this PR does / why we need it:

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

The previous name is easy to mess up with another "lua_shared_dict"
configuration.

Signed-off-by: spacewander <[email protected]>
@spacewander
spacewander marked this pull request as ready for review September 9, 2021 15:08
Comment thread apisix/cli/ops.lua Outdated
Co-authored-by: Alex Zhang <[email protected]>
Comment thread apisix/cli/ops.lua
type = "object",
properties = {
lua_shared_dicts = {
custom_lua_shared_dict = {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this impact the users upgrade from old version of APISIX?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lua_shared_dicts is still available now (only a warn message will generate).

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

Successfully merging this pull request may close these issues.

5 participants