SEZ9 commented on PR #12626:
URL: https://github.com/apache/seatunnel/pull/12626#issuecomment-7050766426
Status of the earlier review points, with the head still at
`5204dd2da73e971719212e963791f2fd2fbb7b67`.
The CI notes in this thread do not change any of them. The exact-head Build
(run 43864690443) is reported as cancelled, with the TiDB startup failure in
job 135243261722. The thread already asks for the TiDB readiness fix from dev
(`37309e1a8c1b6d35573d73fb167c1aabbacb9452`) to be synced and for completed
results on the failed and cancelled lanes. That is separate from the points
below, and a green rerun alone will not close them.
Remaining asks:
1. **Shared comparator synchronization (still open).** The
`WritableComparator` registry is iterated and mutated without the lock Hadoop's
own writers use. The `getConf`/`setConf` pair is also a read-compare-write that
can null out a running job's `Configuration`. Please make the registry cleanup
take the same lock, and make the conf reset safe against a concurrently running
job (or drop it).
2. **Metaspace behaviour and validation (still open).**
- The Mongo cleanup force-loads and initializes `PowerOfTwoBufferPool` in
the loader being released, which starts the pruner thread it then shuts down,
even when the driver was never used. Please skip the cleanup when the class was
not already loaded by that loader.
- `clean()` is not fully best-effort: an `Error` that is not a
`LinkageError` (e.g. `OutOfMemoryError: Metaspace` from that forced init) can
escape `releaseClassLoader` and abort the caller's loop. Please make sure it
cannot.
- For the phased Metaspace validation, please post what was run in each
phase and the observed numbers. I don't see those results in this thread yet.
3. **Other points — status needed.** I see no update in this thread on the
following, so please say for each whether it is handled in this PR or deferred:
- verifying the reflective contract against the real mongodb-driver-core
4.7.1 and the shipped Hadoop uber jars, rather than only hand-written fixtures;
- a maintainer-facing pointer for the MongoDB/Hadoop internals now
hard-coded in engine-core;
- de-duplicating the WARN stack trace on layout drift, and an operator
switch to turn the cleaner off;
- the `entrie(s)` wording in the `CodecPool` INFO line.
<!-- streview-comment:2485 -->
--
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]