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

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

Merged
merged 2 commits into from
Sep 13, 2021

Conversation

spacewander
Copy link
Member

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

Signed-off-by: spacewander spacewanderlzx@gmail.com

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 <spacewanderlzx@gmail.com>
@spacewander spacewander marked this pull request as ready for review September 9, 2021 15:08
apisix/cli/ops.lua Outdated Show resolved Hide resolved
Co-authored-by: Alex Zhang <tokers@apache.org>
@@ -265,7 +265,7 @@ local config_schema = {
http = {
type = "object",
properties = {
lua_shared_dicts = {
custom_lua_shared_dict = {
Copy link
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
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).

@spacewander spacewander merged commit f51729a into apache:master Sep 13, 2021
@spacewander spacewander deleted the ddsd branch September 13, 2021 03:51
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