호환성 변경27
VTGate 메트릭 4개 제거
영향 대상제거된 메트릭 4개 중 하나라도 사용하는 VTGate 모니터링 대시보드 또는 알림 시스템
이 메트릭 4개는 v22.0.0에서 지원 중단 예정으로 지정됐으며, 이제 제공되지 않습니다. QueryExecutions가 QueriesProcessed를 대체하고, QueryRoutes가 QueriesRouted를 대체하며, QueryExecutionsByTable이 테이블별 메트릭 두 개를 모두 대체합니다.
원문 보기
Four deprecated VTGate metrics have been completely removed in v23.0.0. These metrics were deprecated in v22.0.0:
| Metric Name | Component | Deprecated In |
|---------------------------|-----------|---------------|
| `QueriesProcessed` | vtgate | v22.0.0 |
| `QueriesRouted` | vtgate | v22.0.0 |
| `QueriesProcessedByTable` | vtgate | v22.0.0 |
| `QueriesRoutedByTable` | vtgate | v22.0.0 |
**Impact**: Any monitoring dashboards or alerting systems using these metrics must be updated to use the replacement metrics introduced in v22.0.0:
- Use `QueryExecutions` instead of `QueriesProcessed`
- Use `QueryRoutes` instead of `QueriesRouted`
- Use `QueryExecutionsByTable` instead of `QueriesProcessedByTable` and `QueriesRoutedByTable`
See the [v22.0.0 release notes](https://github.com/vitessio/vitess/blob/main/changelog/22.0/22.0.0/release_notes.md#new-vtgate-metrics) for details on the new metrics.
| Component | Metric Name | Was Deprecated In | Deprecation PR |
|:---------:|:-------------------------:|:-----------------:|:-------------------------------------------------------:|
| `vtgate` | `QueriesProcessed` | `v22.0.0` | [#17727](https://github.com/vitessio/vitess/pull/17727) |
| `vtgate` | `QueriesRouted` | `v22.0.0` | [#17727](https://github.com/vitessio/vitess/pull/17727) |
| `vtgate` | `QueriesProcessedByTable` | `v22.0.0` | [#17727](https://github.com/vitessio/vitess/pull/17727) |
| `vtgate` | `QueriesRoutedByTable` | `v22.0.0` | [#17727](https://github.com/vitessio/vitess/pull/17727) |
github.com/vitessio/vitess/releases/tag/v23.0.0vitess/lite:latest의 기본 MySQL 버전 변경: 8.4.6
영향 대상vitess/lite:latest 이미지
필요 조치vitess-operator의 경우, 8.0.x에서 8.4.x로 한 번만 진행하는 순서: YAML extra cnf에 innodb_fast_shutdown=0을 추가하고 적용; 모든 pod가 정상 상태가 될 때까지 대기; 새 Docker 이미지를 사용하도록 YAML 변경; 설정을 제거하고 YAML 다시 적용
이 태그는 이전에는 MySQL 8.0.40을 선택했으며, 업그레이드 후에는 태그를 바꾸지 않아도 8.4.6을 선택합니다.
원문 보기
The default major MySQL version used by our `vitess/lite:latest` image is going from `8.0.40` to `8.4.6`.
This change was merged in [#18569](https://github.com/vitessio/vitess/pull/18569).
* Update MySQL 8.4 to be the default [#18569](https://github.com/vitessio/vitess/pull/18569)
#### Online DDL
* Online DDL: support `alter vitess_migration ... postpone complete` syntax [#18118](https://github.com/vitessio/vitess/pull/18118)
github.com/vitessio/vitess/releases/tag/v23.0.0VTGate가 기본으로 광고하는 MySQL 버전 8.4.6
영향 대상VTGate 배포
필요 조치광고할 MySQL 버전으로 8.4.6이 아닌 버전을 원할 경우 mysql_server_version 플래그를 해당 버전으로 설정
이전에는 VTGate가 MySQL 버전 8.0.40을 광고했습니다. 새 기본값은 실행 중인 MySQL 버전과 다를 수 있습니다.
원문 보기
VTGate also advertises MySQL version `8.4.6` by default instead of `8.0.40`. If that is not what you are running, you can set the `mysql_server_version` flag to advertise the desired version.
* Update MySQL 8.4 to be the default [#18569](https://github.com/vitessio/vitess/pull/18569)
github.com/vitessio/vitess/releases/tag/v23.0.0VTGate QueryExecutionsByTable, 성공한 쿼리만 집계
영향 대상VTGate QueryExecutionsByTable 메트릭을 수집하거나 사용하는 구성(추정)
이전에는 실패한 쿼리 시도도 포함되어 성공한 쿼리량이 실제보다 높게 집계될 수 있었습니다. 이제 실패한 쿼리는 오류 메트릭으로 별도 추적하며, 실패가 상당히 많은 워크로드에서는 값이 낮아질 수 있습니다.
원문 보기
#### VTGate QueryExecutionsByTable Behavior Change
The `QueryExecutionsByTable` metric now only counts successful query executions ([PR #18584](https://github.com/vitessio/vitess/pull/18584)). Previously, it counted all query attempts regardless of success/failure.
**Impact**:
- Metric values may decrease if your workload had significant query failures
- More accurate representation of successful query volume
- Failed queries are tracked separately via error metrics
* fix: emit QueryExecutionsByTable for success cases only [#18584](https://github.com/vitessio/vitess/pull/18584)
github.com/vitessio/vitess/releases/tag/v23.0.0VTTablet --skip-user-metrics 플래그
영향 대상사용자 기반 메트릭을 내보내는 VTTablet 구성
고유 사용자가 많은 환경에서는 사용자별 username 레이블로 메트릭 카디널리티가 폭증할 수 있습니다. --skip-user-metrics를 활성화하면 username 레이블이 UserLabelDisabled로 대체됩니다.
원문 보기
- `--skip-user-metrics` flag if enabled, replaces the username label with "UserLabelDisabled" to prevent metric explosion in environments with many unique users ([PR #18085](https://github.com/vitessio/vitess/pull/18085)).
| `--skip-user-metrics` | vttablet | If enabled, replaces the username label in user-based metrics with "UserLabelDisabled" to prevent metric cardinality explosion in environments with many unique users. | [#18085](https://github.com/vitessio/vitess/pull/18085) |
* [vttablet] Emit Constant “userLabelDisabled” When skip-user-metrics is Enabled [#18085](https://github.com/vitessio/vitess/pull/18085)
github.com/vitessio/vitess/releases/tag/v23.0.0Vitess Bullseye Docker 이미지 빌드 및 게시 중단
영향 대상debian:bullseye를 기반으로 하는 Vitess Docker 이미지
Debian Bookworm 이미지 빌드는 계속되며 Debian Trixie 이미지도 추가됩니다. 기본 Debian 태그는 변경되지 않습니다.
원문 보기
[Bullseye went EOL 1 year ago](https://www.debian.org/releases/), so starting from v23, we will no longer build or publish images based on debian:bullseye ([PR #18609](https://github.com/vitessio/vitess/pull/18609)).
Builds will continue for Debian Bookworm, and add the recently released Debian Trixie. v23 explicitly does not change the default Debian tag to Trixie.
* docker: add trixie and rm bullseye from build matrix [#18609](https://github.com/vitessio/vitess/pull/18609)
github.com/vitessio/vitess/releases/tag/v23.0.0Datadog 트레이서 디버그 모드 기본값 비활성화
영향 대상Datadog 트레이싱 플러그인을 사용하는 설치 환경(추정)
이전에는 플러그인이 항상 디버그 모드를 켜서, 트래픽에 따라 로그가 수백만 건에 이를 정도로 매우 많은 로그를 생성했습니다. --datadog-trace-debug-mode 옵션을 사용하면 디버그 모드를 켤 수 있습니다.
근거“Previously debug mode was hardcoded to true for the tracer in the datadog plugin, which made logging extremely verbose. This can easily add up to millions of logs depending on the amount of traffic your application receives, which can be very costly.” vitessio/vitess/pull/18347 ↗ 원문 보기
* Configure datadog trace debug mode [#18347](https://github.com/vitessio/vitess/pull/18347)
| `--datadog-trace-debug-mode` | All components | Makes Datadog trace debug mode configurable instead of always-on. Default: false. | [#18347](https://github.com/vitessio/vitess/pull/18347) |
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.md양수인 --force-cut-over-after 값이 <= 1ms일 때 Online DDL 즉시 cut-over
영향 대상양수인 --force-cut-over-after 값이 <= 1ms인 Online DDL
이전에는 강제 cut-over가 sinceReadyToComplete 값이 설정값을 초과할 때까지 기다렸습니다. 이제 측정된 경과 시간이 설정값보다 짧아도 cut-over가 발생할 수 있습니다.
근거“- When `--force-cut-over-after` value is `<= 1ms` we consider it as "immediate" even if we somehow measure the time-since-ready to be less than that.” vitessio/vitess/pull/18423 ↗ 원문 보기
* Online DDL cutover enhancements [#18423](https://github.com/vitessio/vitess/pull/18423)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.md프라이머리에 연결할 수 없을 때 VTOrc가 직접 레플리카의 복제를 재시작
UnreachablePrimary 상태에서는 VTOrc가 임의의 직접 레플리카 한 대에서 복제를 중지한 뒤 다시 시작합니다. 일부 레플리카에서만 복제에 실패하면 상태를 UnreachablePrimaryWithBrokenReplicas로 분류하고 모든 직접 레플리카의 복제를 재시작합니다. 태블릿마다 재시작은 분당 한 번으로 제한됩니다.
근거“However, if there is a non-empty subset of replicas that are failing to replicate (and these are **not** all of the replicas) then we analyze as a new `UnreachablePrimaryWithBrokenReplicas`. This scenario is very highly suspicious of really being an early stage for a `DeadPrimary` scenario, and we want to find out sooner rather than later. Here, we restart all replicas.” vitessio/vitess/pull/18626 ↗ 원문 보기
* `vtorc`: implement `restartDirectReplicas` as response to `UnreachablePrimary` [#18626](https://github.com/vitessio/vitess/pull/18626)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.md지원 중단 예정이었던 VTGate 메트릭 및 엔진 프리미티브 메서드 제거
영향 대상지원 중단 예정인 VTGate 메트릭 또는 엔진 프리미티브 메서드를 사용하는 설정(추정)
제거된 VTGate 메트릭에는 QueriesProcessed가 포함됩니다.
근거“This PR removed the deprecated metrics on VTGate and removed deprecated methods on engine primitive.” vitessio/vitess/pull/18149 ↗ 원문 보기
* Remove deprecated methods and metrics [#18149](https://github.com/vitessio/vitess/pull/18149)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.md여러 문으로 구성된 ExecuteFetchAsDba 요청 거부
영향 대상세미콜론으로 구분된 여러 SQL 문을 ExecuteFetchAsDba로 제출하는 코드 또는 자동화
필요 조치각 문을 별도의 RPC 호출로 보내야 합니다.
이전에는 모든 문이 CREATE TABLE 또는 CREATE VIEW인 경우 요청을 받아들였지만, 이제는 이 예외가 적용되지 않습니다.
원문 보기
#### <a id="executefetchasdba-multistatement"/>ExecuteFetchAsDba No Longer Accepts Multi-Statement SQL</a>
The `ExecuteFetchAsDba` RPC method in TabletManager now explicitly rejects SQL queries containing multiple statements (as of [PR #18183](https://github.com/vitessio/vitess/pull/18183)).
**Impact**: Code or automation that previously passed multiple semicolon-separated SQL statements to `ExecuteFetchAsDba` will now receive an error. Each SQL statement must be sent in a separate RPC call.
**Migration**: Split multi-statement SQL into individual RPC calls:
```go
// Before (no longer works):
ExecuteFetchAsDba("CREATE TABLE t1 (id INT); CREATE TABLE t2 (id INT);")
// After (required in v23+):
ExecuteFetchAsDba("CREATE TABLE t1 (id INT);")
ExecuteFetchAsDba("CREATE TABLE t2 (id INT);")
```
* tablet manager's `ExecuteFetchAsDba` does not allow multiple queries [#18183](https://github.com/vitessio/vitess/pull/18183) github.com/vitessio/vitess/releases/tag/v23.0.0vttablet tabletmanager 클라이언트 오류 코드 수정
영향 대상vttablet gRPC tabletmanager 클라이언트를 사용하는 구성
필요 조치google-gRPC 오류 코드에 의존하는 외부 자동화의 업데이트: vterrors.Code(err)로 코드를 확인하고 vtrpcpb.Code_NOT_FOUND 같은 vtrpcpb.Code 값을 사용해야 합니다.
tabletmanager RPC 실행에 실패하면, 예를 들어 mysqld가 중단된 경우 클라이언트가 Unknown을 반환할 수 있었습니다. 이제 이런 경우에는 Unavailable을 반환하며, 오류 메시지는 바뀌지 않습니다.
근거“Now tablets with downed-`mysqld` will return the gRPC `Unavailable` code with the error message unchanged, for example” vitessio/vitess/pull/18565 ↗ 원문 보기
#### <a id="grpc-error-codes"/>gRPC TabletManager Error Code Changes</a>
The `vttablet` gRPC `tabletmanager` client now returns errors wrapped by the internal `go/vt/vterrors` package ([PR #18565](https://github.com/vitessio/vitess/pull/18565)).
**Impact**: External automation relying on google-gRPC error codes must be updated to use `vterrors.Code(err)` to inspect error codes, which returns `vtrpcpb.Code`s defined in [proto/vtrpc.proto](https://github.com/vitessio/vitess/blob/main/proto/vtrpc.proto#L60).
**Migration**:
```go
// Before:
if status.Code(err) == codes.NotFound { ... }
// After:
if vterrors.Code(err) == vtrpcpb.Code_NOT_FOUND { ... }
```
#### <a id="grpctmclient-err-changes"/>gRPC `tabletmanager` client error changes</a>
The `vttablet` gRPC `tabletmanager` client now returns errors wrapped by the internal `go/vt/vterrors` package ([PR #18565](https://github.com/vitessio/vitess/pull/18565)). External automation relying on google-gRPC error codes should now use `vterrors.Code(err)` to inspect the code of an error, which returns `vtrpcpb.Code`s defined in [the `proto/vtrpc.proto` protobuf](https://github.com/vitessio/vitess/blob/main/proto/vtrpc.proto#L60).
See [Breaking Changes](#grpc-error-codes) for migration guidance.
* `tabletmanager`/`grpctmclient`: use `vtrpcpb`/gRPC error codes [#18565](https://github.com/vitessio/vitess/pull/18565)github.com/vitessio/vitess/releases/tag/v23.0.0GTID 파싱 메서드에 커밋 및 시퀀스 값 추가
영향 대상GTID 파싱 API를 직접 호출하는 코드
필요 조치변경된 메서드 시그니처에 맞춘 GTID 파싱 API 직접 호출부 업데이트
이전에는 BinlogEvent.GTID()가 GTID, hasBegin, 오류만 반환했지만, 이제 시그니처에 lastCommitted와 sequenceNumber도 포함됩니다.
원문 보기
Several GTID-related API signatures changed in [PR #18196](https://github.com/vitessio/vitess/pull/18196) as part of GTID performance optimizations:
**Changed**: `BinlogEvent.GTID()` method signature
**Impact**: Code directly using the GTID parsing APIs may need updates. Most users are unaffected as these are internal APIs.
github.com/vitessio/vitess/releases/tag/v23.0.0key.GenerateShardRanges()의 16진수 자릿수 매개변수 지원
영향 대상key.GenerateShardRanges()를 직접 호출하는 코드
필요 조치직접 호출하는 코드는 새 매개변수를 전달하도록 호출을 수정해야 함
이전에는 호출자가 샤드 개수만 전달했습니다. 새 값인 hexChars가 생성되는 샤드 이름의 16진수 자릿수를 지정합니다.
원문 보기
#### <a id="generateshardranges-api"/>GenerateShardRanges API Signature Change</a>
The `key.GenerateShardRanges()` function signature changed in [PR #18633](https://github.com/vitessio/vitess/pull/18633) to add a new `hexChars int` parameter controlling the hex width of generated shard names.
**Impact**: Code calling `GenerateShardRanges()` directly must be updated to pass the new parameter.
---
github.com/vitessio/vitess/releases/tag/v23.0.0대상 DDL 변경 중 Vitess 쿼리 버퍼링
영향 대상조건에 맞는 INSTANT DDL 마이그레이션 및 범위 파티션 로테이션 변경
필요 조치--prefer-instant-ddl을 지정한 즉시 실행 가능한 마이그레이션 또는 범위 파티션 로테이션 변경
스키마 변경이 진행되는 동안 쿼리 실패를 줄이며, 애플리케이션에는 투명하게 처리됩니다.
원문 보기
Query buffering has been implemented for `INSTANT` DDL operations ([PR #17945](https://github.com/vitessio/vitess/pull/17945)), reducing query failures during schema changes.
- Automatic buffering of queries during INSTANT DDL execution
- Transparent to applications
**Impact**: Applications experience fewer query errors during schema changes, improving availability during DDL operations.
* Query buffering, terminating blocking transactions for `INSTANT` DDL and other "special plans" [#17945](https://github.com/vitessio/vitess/pull/17945)
github.com/vitessio/vitess/releases/tag/v23.0.0적격 특수 작업 DDL 전 락 보유 쿼리와 트랜잭션 종료
영향 대상0이 아닌 --force-cut-over-after를 사용하는 적격 instant DDL 및 range partition rotation 작업
이전에는 이러한 작업에서 DDL을 바로 실행했습니다. 이제 마이그레이션 대상 테이블에 락이나 메타데이터 락을 보유한 쿼리와 트랜잭션을 ALTER TABLE 실행 전에 종료합니다. 이 동작은 플래그 값에 따라 달라지지 않으며, 해당 테이블에 대해 대기 중인 원자적 트랜잭션이 있으면 종료를 건너뜁니다.
근거“In addition, if `--force-cut-over-duration` flag is nonzero, and irrespective of its value, we also issue a one time termination for queries and transactions holding locks or metadata locks on the migrated table, just before issuing the `ALTER TABLE` statement.” vitessio/vitess/pull/17945 ↗ 원문 보기
- Forced termination of blocking transactions
* Query buffering, terminating blocking transactions for `INSTANT` DDL and other "special plans" [#17945](https://github.com/vitessio/vitess/pull/17945)
github.com/vitessio/vitess/releases/tag/v23.0.0cgroup CPU·메모리 메트릭에 필요한 cgroup v2
영향 대상cgroup v1을 사용하는 Linux 설치 환경
이전에는 Vitess가 cgroup v1과 v2 모두에서 CPU 및 메모리 메트릭을 수집했습니다. 이제 cgroup v1을 사용하거나 cgroup 메트릭 설정에 실패하면 경고를 출력하고 호스트 메트릭을 사용합니다. cgroup v2에서는 계속 cgroup 메트릭을 사용합니다.
근거“func getCgroup1CpuUsage() (uint64, error) {” vitessio/vitess/pull/18801 ↗ 원문 보기
#### Observability
* [release-23.0] Improve cgroup metric management (#18791) [#18801](https://github.com/vitessio/vitess/pull/18801)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.mdVStream 진단 로그 변경
영향 대상VStream을 사용하는 클러스터(추정)
추가된 로그는 클러스터에서 자주 발생하는 EOF 오류의 위치를 파악하는 데 도움이 되도록 작성되었습니다. VStream 오류 로그 한 건의 수준이 Errorf에서 Infof로 바뀝니다.
원문 보기
* VStream API: add additional log lines for debugging frequent eof errors during catchup [#18124](https://github.com/vitessio/vitess/pull/18124)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.mdVReplication의 MySQL 오류 1419 무한 재시도 중단
워크플로에서 DEFINER 트리거를 생성할 때 이 오류가 발생할 수 있습니다. 이전에는 VReplication이 이 오류를 처리하지 못해 워크플로를 무한정 재시도할 수 있었습니다.
근거“name: "SQL error with ERBinlogCreateRoutineNeedSuper"” vitessio/vitess/pull/18820 ↗ 원문 보기
* [release-23.0] VReplication: Treat ER_BINLOG_CREATE_ROUTINE_NEED_SUPER as unrecoverable (#18784) [#18820](https://github.com/vitessio/vitess/pull/18820)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.mdVTTablet의 오래된 리플리카 하트비트 오류 보고
영향 대상하트비트 리더를 사용하는 리플리카 태블릿(추정)
MySQL의 응답이 멈추고 설정된 하트비트 간격의 두 배가 넘도록 하트비트를 성공적으로 읽지 못하면, vttablet은 MySQL이 정상이라고 계속 보고할 수 있었습니다. 이제 하트비트 상태가 오류를 반환하고 VTGate에 해당 태블릿이 비정상임을 알립니다.
근거“The workaround I'm proposing is to change `*heartbeatReader.Status` func to just disregard any previously read heartbeat data if the last time the heartbeat was successfully read is older than two times the configured interval. It feels a bit hacky, but works reliably in identifying that MySQL is unhealthy and very quickly signals to `vtgate` that the tablet is unhealthy.” vitessio/vitess/pull/17883 ↗ 원문 보기
* Fix `vttablet` not being marked as not serving when MySQL stalls [#17883](https://github.com/vitessio/vitess/pull/17883)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.mdInitAuthServerClientCert의 명시적 CA 값 인자
영향 대상go/mysql의 공개 InitAuthServerClientCert 함수를 호출하는 Go 코드(VTGate 플러그인 초기화 함수 포함)(추정)
이전에는 함수가 mysql-server-ssl-ca를 조회하고, 첫 번째 플래그 값이 비어 있으면 mysql_server_ssl_ca를 사용했습니다. 이제 함수는 두 번째 인자로 CA 값을 받으며, VTGate 플러그인 초기화 함수가 vtgate.GetMysqlServerSSLCA()를 통해 이 값을 전달합니다.
근거“func InitAuthServerClientCert(clientcertAuthMethod string, caValue string) {” vitessio/vitess/pull/18508 ↗ 원문 보기
* Set up better dependency checks [#18508](https://github.com/vitessio/vitess/pull/18508)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.mdlite:mysql80 Docker 이미지 빌드 추가
영향 대상lite:mysql80 이미지를 선택하는 빌드(추정)
이전에는 lite 이미지 빌드 매트릭스에 latest, mysql84, percona80이 포함됐지만 mysql80은 포함되지 않았습니다.
원문 보기
* build `lite:mysql80` docker image [#18692](https://github.com/vitessio/vitess/pull/18692)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.md강제 cut-over에서 RENAME 중 테이블 잠금 보유 연결 종료
영향 대상강제 cut-over를 사용하는 Online DDL 마이그레이션
이전에는 cut-over 전 종료 작업이 끝난 뒤 RENAME이 실행되기 전까지 장기 실행 쿼리가 시작될 수 있었습니다. 이 쿼리는 마이그레이션 대상 테이블의 잠금을 보유한 채 남을 수 있었습니다. 추가 종료 단계에서는 lock 연결과 rename 연결을 제외합니다.
근거“With forced cut-over, we now kill queries and transactions holding onto locks on migrated table, not only _before_ the cut-over, but also while the `RENAME` is being applied. Without this, there's a race condition where a long running query could start running just after queries are killed and right before the `RENAME` starts running.” vitessio/vitess/pull/18423 ↗ 원문 보기
* Online DDL cutover enhancements [#18423](https://github.com/vitessio/vitess/pull/18423)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.mdOnline DDL 컷오버 잠금 대기 타임아웃 단축
영향 대상Online DDL 컷오버 마이그레이션(추정)
잠금 연결의 타임아웃은 onlineDDL.CutOverThreshold의 5배에서 임계값의 3배로 변경됩니다. 이름 변경 연결의 타임아웃은 임계값의 5배에 4를 곱한 값에서 임계값의 2배로 변경됩니다.
근거“- Sanitized and reduced query and lock timeouts during the cut-over. There were some excessive timeouts, notably an overlooked `5*onlineDDL.CutOverThreshold*4` value which evaluates to `5min` on a `15s` timeout.” vitessio/vitess/pull/18423 ↗ 원문 보기
* Online DDL cutover enhancements [#18423](https://github.com/vitessio/vitess/pull/18423)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.mdVTOrc database_instance 위치 필드를 정보 제공용 cell로 대체
영향 대상VTOrc에서 database_instance 테이블을 사용하는 설치 환경(추정)
제거된 필드는 로직에서 사용되지 않았습니다. physical_environment와 region은 항상 undefined이거나 비어 있었고, data_center는 태블릿의 cell과 일치했습니다. 새 cell 필드도 아직 로직에서 사용되지 않습니다.
근거“The 3 x fields are replaced by the new `cell` field. It isn't used in any logic yet - for now it is informational” vitessio/vitess/pull/18339 ↗ 원문 보기
* `vtorc`: cleanup `database_instance` location fields [#18339](https://github.com/vitessio/vitess/pull/18339)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.mdVTOrc database_instance 스키마의 위치 필드를 cell로 대체
영향 대상database_instance 테이블을 사용하는 VTOrc 설치(추정)
이전에는 테이블에 data_center, physical_environment, region 필드가 있었으며, PR에 따르면 이 필드들은 로직에서 사용되지 않았습니다. 이를 대체하는 cell 필드는 정보 제공용이며, 아직 로직에서 사용되지 않습니다.
근거“The 3 x fields are replaced by the new `cell` field. It isn't used in any logic yet - for now it is informational” vitessio/vitess/pull/18339 ↗ 원문 보기
* `vtorc`: cleanup `database_instance` location fields [#18339](https://github.com/vitessio/vitess/pull/18339)
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.mdVTOrc의 집계 디스커버리 메트릭 API 제거
영향 대상VTOrc의 /api/aggregated-discovery-metrics 엔드포인트를 사용하는 연동(추정)
이 엔드포인트는 이전에 120초 동안의 집계된 디스커버리 샘플을 JSON으로 반환했습니다.
근거“This PR drops the undocumented VTOrc API endpoint `/api/aggregated-discovery-metrics`” vitessio/vitess/pull/18672 ↗ 원문 보기
* `vtorc`: remove aggregated discovery metrics HTTP API, cleanup code [#18672](https://github.com/vitessio/vitess/pull/18672)
#### <a id="aggregated-discovery-metrics-api-removed"/>Aggregated Discovery Metrics HTTP API removed</a>
VTOrc's undocumented `/api/aggregated-discovery-metrics` HTTP API endpoint was removed ([PR #18672](https://github.com/vitessio/vitess/pull/18672)). The list of documented VTOrc APIs can be found [here](https://vitess.io/docs/current/reference/vtorc/ui_api_metrics/#apis).
We recommend using the standard VTOrc metrics to gather the same metrics. If you find that a metric is missing in standard metrics, please open an issue or PR to address this.
github.com/vitessio/vitess/blob/main/changelog/23.0/23.0.0/changelog.md