Skip to content

MatrixOne-v4.2.8

Latest

Choose a tag to compare

@LeftHandCold LeftHandCold released this 04 Nov 08:31
10d204b

Release date: November 4, 2026
MatrixOne version: v4.2.8

MatrixOne 4.2.8 is a patch release on the 4.2 line, adding query-level IVF search tuning and fixing concurrent writes, DELETE planning, transaction-local scan visibility, role grants, and FileService HTTP tracing.

Key Improvements

Vector Search

  • Query-Level IVF nprobe: Override the session probe setting for individual IVFFLAT and IVFPQ queries. Defaults are unchanged; increasing nprobe can increase search cost. Invalid or unknown rank options now return errors rather than being ignored.

Key Bug Fixes

SQL and Transaction Correctness

  • Concurrent ODKU Writes: Lock the actual row resolved through a secondary UNIQUE key, while retaining incoming-primary-key locking for new rows, to prevent conflicting writes from producing duplicate rows or inconsistent indexes.
  • DELETE Target Scope: Validate targets against their original FROM sources and keep joined deletes on row-based execution instead of incorrectly treating them as unrestricted deletes.
  • Transaction-Local Reads: Keep uncommitted persisted objects on the initiating CN during distributed scans, and preserve execution constraints when applying execType hints.
  • Auto-Increment Inserts: Check actual key conflicts instead of repeatedly retrying solely because more than 64 objects changed within the cached allocation window.

Reliability and Access Control

  • Concurrent Role Grants: Serialize role-graph changes and refresh validation visibility so competing grants cannot commit a role-inheritance cycle.
  • FileService HTTP Tracing: Give each HTTP request its own trace lifetime and synchronize callback timing state, avoiding pooled-trace reset races.

Upgrade Notes

  • The ODKU fix prevents the affected write path from introducing new inconsistencies; already-corrupt tables still require separate assessment and repair. Upgrade all SQL-serving CNs before relying on the corrected behavior.
  • IVF search remains approximate. In 4.2 AUTO mode, an empty result triggers PRE fallback, but a nonempty short page does not. Query-level nprobe does not guarantee complete recall or a full result page.

What's Changed

Full Changelog: v4.2.7...v4.2.8