You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
142469: microbench-ci: combine compare and post r=rickystewart a=herkolategan
Previously, the microbench-ci tool had separate commands for comparing benchmark results and posting them to GitHub.
This change combines the compare and post functionality into a single command, simplifying the CI workflow by reducing the number of commands needed. When `--post` is specified, the tool will both generate the comparison summary and conditionally post it as a GitHub comment.
Previously, a single comment was posted or updated on the PR for each invocation of the tool. Now, a new comment will be posted for each invocation of the tool if either the `X-perf-check` label is present or if the benchmark results have significant changes.
Epic: None
Release note: None
144051: raft: forward appended LogSlice to commit index r=tbg a=pav-kv
When handling `MsgApp`, we never overwrite committed entries. Previously, `MsgApp` would be ignored if its `prev.index < raftLog.committed`. This was too strict: the appended slice can still have new entries > `committed` index. This PR makes it possible to accept such appends, after "forwarding" the appended slice to `committed` index. The `match` check still ensures that this partial append is correct.
Epic: none
Release note: none
144266: jsonpath: add support for `.size()`, `.type()` methods r=normanchenn a=normanchenn
#### jsonpath: add support for .size() method
This commit adds support for the `.size()` method in JSONPath queries,
which returns the length of the array or 1 for non-array values (in lax
mode). In strict mode, it returns an error when applied to non-array
values.
This commit also sets up the rest of the JSONPath methods, adding
unimplemented errors when they are parsed.
Informs: #22513
Release note (sql change): Add support for `.size()` method in JSONPath
expressions. For example, `SELECT jsonb_path_query('[1, 2, 3]',
'$.size()');`.
#### jsonpath: add support for .type() method
This commit adds support for the `.type()` method in JSONPath queries,
which returns a string descripbing the type of the current JSON value
("object", "array", "string", "number", "boolean", "null").
Informs: #22513
Release note (sql change): Add support for `.type()` method for JSONPath
queries. For example, `SELECT jsonb_path_query('[1, 2, 3]', '$.type()');`.
144297: sql: avoid unnecessary version bumps for UDTs during ALTER TABLE r=spilchen a=spilchen
Previously, in the legacy schema changer, we unconditionally updated backreferences from tables to user-defined types (UDTs) during ALTER TABLE operations. This happened even when the backreferences remained unchanged.
While this behavior was functionally harmless, it caused the version of the referenced types to be incremented unnecessarily.
This change avoids version bumps unless the backreference actually changes.
Fixes: #144293
Epic: none
Release note: none
Co-authored-by: Herko Lategan <[email protected]>
Co-authored-by: Pavel Kalinnikov <[email protected]>
Co-authored-by: Norman Chen <[email protected]>
Co-authored-by: Matt Spilchen <[email protected]>
0 commit comments