nzw921rx opened a new issue, #13130:
URL: https://github.com/apache/seatunnel/issues/13130

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   ### What happened
   
   After restoring a job from a savepoint with an updated configuration, the 
job-info API shows realtime observability enabled, but the realtime edges API 
still reports `enabled=false`.
   
   Steps to reproduce:
   
   1. Start a Zeta streaming job with realtime observability disabled.
   2. Stop the job with a savepoint.
   3. Set `env.engine.observability.enabled=true` in the job configuration, as 
shown below.
   4. Restore the job from the savepoint using the updated configuration and 
the same job ID.
   5. After the job returns to `RUNNING`, query `/job-info/<job-id>` and 
`/metrics/realtime/jobs/<job-id>/edges?windowMs=180000` on the same active 
master.
   6. The job-info response contains `enabled=true` in `engine.observability`, 
while the realtime edges response contains `enabled=false` and an empty `edges` 
array.
   
   Expected behavior: realtime observability should reflect the updated 
configuration of the current running attempt and report `enabled=true`.
   
   ### SeaTunnel Version
   
   3.1.0
   
   ### SeaTunnel Config
   
   Relevant configuration fragment used when restoring the job:
   
   ```hocon
   env {
     engine.observability {
       enabled = true
       bucket_ms = 5000
       retention_minutes = 3
     }
   }
   ```
   
   ### Running Command
   
   Verification requests against the same active master after restoring the job:
   
   ```bash
   curl -sS 'http://<active-master>:8080/job-info/<job-id>'
   curl -sS 
'http://<active-master>:8080/metrics/realtime/jobs/<job-id>/edges?windowMs=180000'
   ```
   
   ### Error Exception
   
   The realtime edges API returns the following inconsistent status:
   
   ```json
   {
     "edges": [],
     "enabled": false,
     "bucketMs": 5000
   }
   ```
   
   ### Zeta or Flink or Spark Version
   
   Zeta Engine.
   
   ### Java or Scala Version
   
   Not provided.
   
   ### Screenshots
   
   None.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct).
   


-- 
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]

Reply via email to