Rangsh commented on PR #12173:
URL: https://github.com/apache/seatunnel/pull/12173#issuecomment-7300628561

   @SEZ9 @DanielLeens — confirming on unchanged head `05bf5510ac09`. No new 
commit, benchmark run, or product-guide change.
   
   **Durability sample.** The confidence limit stays explicit in the PR 
description (**Durability and evidence boundary**): trial teardown samples one 
representative key and does not show that every timed put was durable. A failed 
write-through append in an earlier iteration can go unnoticed because 
`FileMapStore.store` discards that result. Whether this limit is acceptable for 
the PR remains a write-capable maintainer decision.
   
   **#12266.** Agreed with @DanielLeens. [Issue 
#12266](https://github.com/apache/seatunnel/issues/12266) tracks only widening 
the sample to a full-batch `loadAll` outside measured SingleShot time, with a 
no-OOM condition. It does not track propagating the discarded 
`FileMapStore.store` failure. Those stay separate acceptance items; I am not 
adding the store-failure item to #12266 on this exchange. The current benchmark 
remains evidence for the workload and one sampled durable key.
   
   **Benchmark docs.** Javadoc-only methodology for `runningJobGrowth` / 
`completedJobHistoryGrowth` is intended. Growth-scenario prose stays out of 
these pages, per the earlier review:
   
   - 
[docs/en/engines/zeta/benchmark.md](https://github.com/apache/seatunnel/blob/05bf5510ac098079916badf0110130c1ada1c99f/docs/en/engines/zeta/benchmark.md)
 ([published](https://seatunnel.apache.org/docs/engines/zeta/benchmark/))
   - 
[docs/zh/engines/zeta/benchmark.md](https://github.com/apache/seatunnel/blob/05bf5510ac098079916badf0110130c1ada1c99f/docs/zh/engines/zeta/benchmark.md)
 ([published](https://seatunnel.apache.org/zh-CN/docs/engines/zeta/benchmark/))
   
   Scope map: 
https://github.com/apache/seatunnel/pull/12173#issuecomment-7190023571
   
   **Earlier points**, on this head:
   
   1. `storeFinishedPipelineMetrics` takes `finishedJobMetricsImap.lock(jobId)` 
around get/merge/put and unlocks in `finally`. Callers for the same `jobId` are 
serialized by that IMap key lock. This is the intended design; it replaced the 
earlier per-JobMaster `metricsLock` note.
   2. That method's Javadoc already states the current contract: lock, merge 
into the IMap value, one TTL put. It does not mix in the historical 
`computeIfAbsent` rationale, and it does not use the "in memory" wording. This 
is separate from the benchmark-methodology Javadoc above, which is unchanged 
and still intentional.
   3. `JobHistoryServiceFinishedMetricsTest` asserts the observable TTL `put` 
and the stored metrics (`WritesOnceForNewJob`, `MergesExistingFinishedMetrics`, 
`KeepsDistinctTaggedMeasurements`) and rejects null metrics 
(`RejectsNullMetrics`). There is no `never().computeIfAbsent` assertion. You 
confirmed that coverage and withdrew the point on 2026-10-24: 
https://github.com/apache/seatunnel/pull/12173#issuecomment-6378537156 — it 
sits above the later benchmark thread, so it is easy to miss from this part of 
the discussion.
   
   Fixture/production isolation, and any dismissal of the earlier 
`CHANGES_REQUESTED`, remain with a write-capable maintainer.


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