abhishekrb19 opened a new pull request, #16208:
URL: https://github.com/apache/druid/pull/16208

   Updating the topic name for a supervisor results in the following error:
   ```text
   [java.lang.RuntimeException: Inconsistent metadata state. This can happen if 
you update input topic in a spec without changing the supervisor name. Stored 
state: ...
   ```
   
   Changing the supervisor's name makes it a completely different supervisor.  
Update the error message to instead suggest resetting the supervisor as the 
primary way to fix it when this happens. The updated error message is as 
follows:
   
   ```text
   [java.lang.RuntimeException: Inconsistent metadata state. This can happen 
when the input topic in the supervisor spec is updated without resetting the 
supervisor. Stored state: ...
   ```
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to