Vitess security audit*vtadminpb.GetClustersRequest) (*vtadminpb.GetClustersResponse, error) { span, _ := trace.NewSpan(ctx, "API.GetClusters") defer span.Finish() clusters, _ := api.getClustersForRequest(nil) vcs := make([]*vtadminpb error) { span, ctx := trace.NewSpan(ctx, "VtctldServer.GetBackups") defer span.Finish() defer panicHandler(&err) span.Annotate("keyspace", req.Keyspace) span.Annotate("shard", req.Shard) span.Annotate("limit" Annotate("limit", req.Limit) span.Annotate("detailed", req.Detailed) span.Annotate("detailed_limit", req.DetailedLimit) bs, err := backupstorage.GetBackupStorage() if err != nil { return nil, err } defer bs0 码力 | 41 页 | 1.10 MB | 1 年前3
Tracing in TiDB 浅谈全链路监控:
从应用到数据库到 RuntimeZipkin ○ Uber Jaeger ● OpenCensus ● OpenTracing + OpenCensus = OpenTelemetry 基本概念:Trace & Span Trace & Span 例子 Jaeger ● CNCF 毕业项目 ● 实现 OpenTracing 标准 ● UI 友好 ● 多种 Sampling 策略 ● 后端存储分离 ● Go! (图标也好看) its calls instrumentedsql 原理 在 Driver 相关的调用加 Wrapper 插入 Span 真实的数据库调用对我们来说还是 黑洞 少废话先看东西 少废话先看东西 Under the hood ● 核心思想:将 Tracer ID 和 Span Context 传递到 TiDB 内核中 ● 具体做法: 1. 添加一个 Session Varible, 语法如: 语法如: SET @@tidb_tracer_id=xxxxxx; 2. 在 Application 里将 Tracer ID 和 Span Context 序列化成字符串后传递给这个 Session Varible 3. 在 TiDB 体系内将 Tracer 信息反序列化后生成新的 Context 4. TiDB 和 TiKV 之间的通信是通过 gRPC, jaeger 对 gRPC0 码力 | 39 页 | 3.43 MB | 1 年前3
The Vitess 8.0 Documentationtransaction that tries to go beyond a single database will fail. 2. Multi database: A transaction can span multiple databases, but the commit will be best effort. Partial commits are possible. 3. 2PC: This run KILL from there. Cross-shard Transactions By default, Vitess does not support transactions that span across shards. While Vitess can support this with the use of Two-Phase Commit, it is usually recommended sent to the server). In the example, this option is set to zero, because we will be passing custom span contexts to the queries we want to trace. In this way, we only instrument the queries we want. This0 码力 | 331 页 | 1.35 MB | 1 年前3
The Vitess 12.0 Documentationcut-over and termination of the VReplication stream. It is possible for a VReplication migration to span multiple tablets, detailed below. In this case, if the tablet goes down, then the migration will not run KILL from there. Cross-shard Transactions By default, Vitess does not support transactions that span across shards. While Vitess can support this with the use of Two-Phase Commit, it is usually recommended transaction that tries to go beyond a single database will fail. 2. Multi database: A transaction can span multiple databases, but the commit will be best effort. Partial commits are possible. 3. 2PC: This0 码力 | 534 页 | 3.32 MB | 1 年前3
The Vitess 9.0 Documentationrun KILL from there. Cross-shard Transactions By default, Vitess does not support transactions that span across shards. While Vitess can support this with the use of Two-Phase Commit, it is usually recommended transaction that tries to go beyond a single database will fail. 2. Multi database: A transaction can span multiple databases, but the commit will be best effort. Partial commits are possible. 3. 2PC: This sent to the server). In the example, this option is set to zero, because we will be passing custom span contexts to the queries we want to trace. In this way, we only instrument the queries we want. This0 码力 | 417 页 | 2.96 MB | 1 年前3
The Vitess 11.0 Documentationrun KILL from there. Cross-shard Transactions By default, Vitess does not support transactions that span across shards. While Vitess can support this with the use of Two-Phase Commit, it is usually recommended transaction that tries to go beyond a single database will fail. 2. Multi database: A transaction can span multiple databases, but the commit will be best effort. Partial commits are possible. 3. 2PC: This sent to the server). In the example, this option is set to zero, because we will be passing custom span contexts to the queries we want to trace. In this way, we only instrument the queries we want. This0 码力 | 481 页 | 3.14 MB | 1 年前3
The Vitess 10.0 Documentation
run KILL from there. Cross-shard Transactions By default, Vitess does not support transactions that span across shards. While Vitess can support this with the use of Two-Phase Commit, it is usually recommended transaction that tries to go beyond a single database will fail. 2. Multi database: A transaction can span multiple databases, but the commit will be best effort. Partial commits are possible. 3. 2PC: This sent to the server). In the example, this option is set to zero, because we will be passing custom span contexts to the queries we want to trace. In this way, we only instrument the queries we want. This0 码力 | 455 页 | 3.07 MB | 1 年前3
PostgreSQL 8.2 Documentationinet IPv4 or IPv6 host address integer int, int4 signed four-byte integer interval [ (p) ] time span line infinite line in the plane lseg line segment in the plane macaddr MAC address money currency mode produces messages that include the above plus any detail, hint, or context fields (these may span multiple lines). The VERBOSE mode includes all available fields. Changing the verbosity does not affect PGTYPEStimestamp_add_interval(timestamp *tin, interval *span, timestamp *tout); The function receives a pointer to a timestamp variable tin and a pointer to an interval variable span. It adds the interval to the timestamp0 码力 | 1748 页 | 13.12 MB | 1 年前3
PostgreSQL 8.2 Documentationinet IPv4 or IPv6 host address integer int, int4 signed four-byte integer interval [ (p) ] time span line infinite line in the plane lseg line segment in the plane macaddr MAC address money currency mode produces messages that include the above plus any detail, hint, or context fields (these may span multiple lines). The VERBOSE mode includes all available fields. Changing the verbosity does not affect PGTYPEStimestamp_add_interval(timestamp *tin, interval *span, timestamp *tout); The function receives a pointer to a timestamp variable tin and a pointer to an interval variable span. It adds the interval to the timestamp0 码力 | 1762 页 | 5.43 MB | 1 年前3
Firebird 2.1 ErrorCodesdomain_name DOMAIN @1 -901 335544874 max_db_per_trans_allowed A multi database transaction cannot span more than @1 databases -901 335544876 bad_proc_BLR Error while parsing procedure @1's BLR -901 3355448770 码力 | 31 页 | 103.24 KB | 1 年前3
共 97 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













