Skip to content

change: delete the server-info plugin #12218

Merged
LiteSun merged 1 commit into
apache:masterfrom
LiteSun:sy/remove-server-info
May 16, 2025
Merged

change: delete the server-info plugin #12218
LiteSun merged 1 commit into
apache:masterfrom
LiteSun:sy/remove-server-info

Conversation

@LiteSun

@LiteSun LiteSun commented May 15, 2025

Copy link
Copy Markdown
Member

Description

The server-info plugin in Apache APISIX periodically reports basic server information to etcd. When a large number of APISIX instances start simultaneously, these periodic writes can lead to increased load on etcd. If etcd is not adequately provisioned or configured to handle this load, it may become overwhelmed, potentially causing APISIX startup failures. 

Which issue(s) this PR fixes:

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@LiteSun LiteSun changed the title remove: delete the server-info plugin and its related configuration… revert: delete the server-info plugin May 15, 2025
@LiteSun
LiteSun marked this pull request as ready for review May 16, 2025 00:28
@dosubot dosubot Bot added size:XL This PR changes 500-999 lines, ignoring generated files. performance generate flamegraph for the current PR plugin labels May 16, 2025
@AlinsRan AlinsRan changed the title revert: delete the server-info plugin change: delete the server-info plugin May 16, 2025
@LiteSun
LiteSun merged commit 3fdcbf5 into apache:master May 16, 2025
@LiteSun
LiteSun deleted the sy/remove-server-info branch May 16, 2025 08:41
@bzp2010

bzp2010 commented May 17, 2025

Copy link
Copy Markdown
Contributor

Apologies for using so many header lines to increase the font size, but it's important and necessary to do so.

@LiteSun @nic-6443 @AlinsRan @ronething @membphis

The author and all who approved this PR, I have questions:

Where is the discussion on this BREAK CHANGE?

Why is such a break change being merged without public discussion?

The plugin does not contain a security vulnerability and we are not going to release a patch for it, so why perform such an urgent change operation?

When you merge this break change, what is the equivalent alternative to this plugin what is it?

If there are no alternatives and there is no advance notice of any deprecation plan, why did you just merge this PR?


This change isn't urgent at all, and we have plenty of time before the next release, which should have been handled in a better way! Clearly documenting the behavior and risks of the plugin, and telling users what's going on here from a technical perspective would all help to better address the issue. If it needs to be removed, start by initiating a change to the documentation to mark it as “Deprecated and about to be removed”, after which you can modify it to not enable by default and print a log to remind users not to use it anymore.

Is it acceptable to remove a plugin so easily? Basically you're telling developers that there are no rules to follow and you can make any break change you want, even if that rule is clearly documented in the PR checklist. There is no reason whatsoever to support this non-backwards compatible PR being merged so hastily and quickly.

I believe that we need to revert this commit and then complete the process in a better way.

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

Labels

performance generate flamegraph for the current PR plugin size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants