Skip to content

Conversation

@brbzull0
Copy link
Contributor

It could be that someone may fire a message before plugins are ready to handle any message, so we add a check to avoid any issues and inform the caller about the situation.

$ traffic_ctl plugin msg test
Server Error found:
[9] Error during execution
- [5000] Plugin is not yet ready to handle any messages.

It could be that someone may fire a message before plugins are ready to
handle any message, so we add a check to avoid any issues and inform
the caller about the situation.
@brbzull0 brbzull0 self-assigned this Aug 30, 2023
@brbzull0 brbzull0 added the JSONRPC JSONRPC 2.0 related work. label Aug 30, 2023
@brbzull0 brbzull0 added this to the 10.0.0 milestone Aug 30, 2023
@brbzull0 brbzull0 changed the title JSONRPC handler: Add check for the lifecycle hooks. rpc plugin handler: Add check for the lifecycle hooks. Aug 30, 2023
@brbzull0 brbzull0 changed the title rpc plugin handler: Add check for the lifecycle hooks. RPC plugin handler: Add check for the lifecycle hooks. Aug 30, 2023
@brbzull0 brbzull0 added Documentation easy_review No new logic, easy to review. labels Sep 6, 2023
@brbzull0 brbzull0 merged commit a9bb761 into apache:master Sep 11, 2023
cmcfarlen pushed a commit to cmcfarlen/trafficserver that referenced this pull request Jun 3, 2024
* asf/master:
  Don't set port number as part of hostname (apache#10386)
  JSONRPC handler: Add check for the lifecycle hooks. (apache#10312)
  Removes all HostDB persistent storage (apache#10368)
  Restores the traffic_server option for --maxRecords (apache#10388)
  URL.cc: url_length_get consider ipv6 address with added [] (apache#10387)
  make alternate tests wait a multiple of cache_config_mutex_retry_delay (apache#10378)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation easy_review No new logic, easy to review. JSONRPC JSONRPC 2.0 related work.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants