-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.toml
738 lines (590 loc) · 11.1 KB
/
errors.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
# AUTOGENERATED BY github.com/pingcap/errors/errdoc-gen
# YOU CAN CHANGE THE 'description'/'workaround' FIELDS IF THEM ARE IMPROPER.
["PD:ErrEncryptionKMS"]
error = '''
KMS error
'''
["PD:apiutil:ErrOptionNotExist"]
error = '''
the option %s does not exist
'''
["PD:apiutil:ErrRedirect"]
error = '''
redirect failed
'''
["PD:autoscaling:ErrEmptyMetricsResponse"]
error = '''
metrics response from Prometheus is empty
'''
["PD:autoscaling:ErrEmptyMetricsResult"]
error = '''
result from Prometheus is empty, %s
'''
["PD:autoscaling:ErrTypeConversion"]
error = '''
type conversion error
'''
["PD:autoscaling:ErrUnexpectedType"]
error = '''
unexpected type %v
'''
["PD:autoscaling:ErrUnsupportedComponentType"]
error = '''
unsupported component type %v
'''
["PD:autoscaling:ErrUnsupportedMetricsType"]
error = '''
unsupported metrics type %v
'''
["PD:checker:ErrCheckerMergeAgain"]
error = '''
region will be merged again, %s
'''
["PD:checker:ErrCheckerNotFound"]
error = '''
checker not found
'''
["PD:client:ErrClientCreateTSOStream"]
error = '''
create TSO stream failed, %s
'''
["PD:client:ErrClientGetLeader"]
error = '''
get leader from %v error
'''
["PD:client:ErrClientGetMember"]
error = '''
get member failed
'''
["PD:client:ErrClientGetTSO"]
error = '''
get TSO failed, %v
'''
["PD:client:ErrClientGetTSOTimeout"]
error = '''
get TSO timeout
'''
["PD:cluster:ErrNotBootstrapped"]
error = '''
TiKV cluster not bootstrapped, please start TiKV first
'''
["PD:cluster:ErrStoreIsUp"]
error = '''
store is still up, please remove store gracefully
'''
["PD:common:ErrGetSourceStore"]
error = '''
failed to get the source store
'''
["PD:common:ErrIncorrectSystemTime"]
error = '''
incorrect system time
'''
["PD:core:ErrNoStoreForRegionLeader"]
error = '''
can not remove store %d since there are no extra up store to store the leader
'''
["PD:core:ErrPauseLeaderTransfer"]
error = '''
store %v is paused for leader transfer
'''
["PD:core:ErrSlowStoreEvicted"]
error = '''
store %v is evicted as a slow store
'''
["PD:core:ErrStoreDestroyed"]
error = '''
store %v has been physically destroyed
'''
["PD:core:ErrStoreNotFound"]
error = '''
store %v not found
'''
["PD:core:ErrStoreRemoved"]
error = '''
store %v has been removed
'''
["PD:core:ErrStoreServing"]
error = '''
store %v has been serving
'''
["PD:core:ErrStoreUnhealthy"]
error = '''
store %v is unhealthy
'''
["PD:core:ErrStoresNotEnough"]
error = '''
can not remove store %v since the number of up stores would be %v while need %v
'''
["PD:core:ErrWrongRangeKeys"]
error = '''
wrong range keys
'''
["PD:crypto:ErrCryptoAppendCertsFromPEM"]
error = '''
cert pool append certs error
'''
["PD:crypto:ErrCryptoX509KeyPair"]
error = '''
x509 keypair error
'''
["PD:dashboard:ErrDashboardStart"]
error = '''
start dashboard failed
'''
["PD:dashboard:ErrDashboardStop"]
error = '''
stop dashboard failed
'''
["PD:dir:ErrReadDirName"]
error = '''
read dir name error
'''
["PD:encryption:ErrEncryptionCTRDecrypt"]
error = '''
CTR decryption fail
'''
["PD:encryption:ErrEncryptionCTREncrypt"]
error = '''
CTR encryption fail
'''
["PD:encryption:ErrEncryptionCurrentKeyNotFound"]
error = '''
current data key not found
'''
["PD:encryption:ErrEncryptionDecryptRegion"]
error = '''
decrypt region fail
'''
["PD:encryption:ErrEncryptionEncryptRegion"]
error = '''
encrypt region fail
'''
["PD:encryption:ErrEncryptionGCMDecrypt"]
error = '''
GCM decryption fail
'''
["PD:encryption:ErrEncryptionGCMEncrypt"]
error = '''
GCM encryption fail
'''
["PD:encryption:ErrEncryptionGenerateIV"]
error = '''
fail to generate iv
'''
["PD:encryption:ErrEncryptionInvalidConfig"]
error = '''
invalid config
'''
["PD:encryption:ErrEncryptionInvalidMethod"]
error = '''
invalid encryption method
'''
["PD:encryption:ErrEncryptionKeyNotFound"]
error = '''
data key not found
'''
["PD:encryption:ErrEncryptionKeysWatcher"]
error = '''
data key watcher error
'''
["PD:encryption:ErrEncryptionLoadKeys"]
error = '''
load data keys error
'''
["PD:encryption:ErrEncryptionNewDataKey"]
error = '''
fail to generate data key
'''
["PD:encryption:ErrEncryptionNewMasterKey"]
error = '''
fail to get master key
'''
["PD:encryption:ErrEncryptionRotateDataKey"]
error = '''
failed to rotate data key
'''
["PD:encryption:ErrEncryptionSaveDataKeys"]
error = '''
failed to save data keys
'''
["PD:etcd:ErrCloseEtcdClient"]
error = '''
close etcd client failed
'''
["PD:etcd:ErrEtcdGetCluster"]
error = '''
etcd get cluster from remote peer failed
'''
["PD:etcd:ErrEtcdGrantLease"]
error = '''
etcd lease failed
'''
["PD:etcd:ErrEtcdKVDelete"]
error = '''
etcd KV delete failed
'''
["PD:etcd:ErrEtcdKVGet"]
error = '''
etcd KV get failed
'''
["PD:etcd:ErrEtcdKVGetResponse"]
error = '''
etcd invalid get value response %v, must only one
'''
["PD:etcd:ErrEtcdKVPut"]
error = '''
etcd KV put failed
'''
["PD:etcd:ErrEtcdMemberList"]
error = '''
etcd member list failed
'''
["PD:etcd:ErrEtcdMemberRemove"]
error = '''
etcd remove member failed
'''
["PD:etcd:ErrEtcdMoveLeader"]
error = '''
etcd move leader error
'''
["PD:etcd:ErrEtcdTLSConfig"]
error = '''
etcd TLS config error
'''
["PD:etcd:ErrEtcdTxnConflict"]
error = '''
etcd transaction failed, conflicted and rolled back
'''
["PD:etcd:ErrEtcdTxnInternal"]
error = '''
internal etcd transaction error occurred
'''
["PD:etcd:ErrEtcdURLMap"]
error = '''
etcd url map error
'''
["PD:etcd:ErrEtcdWatcherCancel"]
error = '''
watcher canceled
'''
["PD:etcd:ErrNewEtcdClient"]
error = '''
new etcd client failed
'''
["PD:etcd:ErrStartEtcd"]
error = '''
start etcd failed
'''
["PD:filepath:ErrFilePathAbs"]
error = '''
failed to convert a path to absolute path
'''
["PD:gin:ErrBindJSON"]
error = '''
bind JSON error
'''
["PD:grpc:ErrCloseGRPCConn"]
error = '''
close gRPC connection failed
'''
["PD:grpc:ErrGRPCCloseSend"]
error = '''
close send error
'''
["PD:grpc:ErrGRPCCreateStream"]
error = '''
create stream error
'''
["PD:grpc:ErrGRPCDial"]
error = '''
dial error
'''
["PD:grpc:ErrGRPCRecv"]
error = '''
receive response error
'''
["PD:grpc:ErrGRPCSend"]
error = '''
send request error
'''
["PD:grpcutil:ErrSecurityConfig"]
error = '''
security config error: %s
'''
["PD:hex:ErrHexDecodingString"]
error = '''
decode string %s error
'''
["PD:http:ErrNewHTTPRequest"]
error = '''
new HTTP request failed
'''
["PD:http:ErrSendRequest"]
error = '''
send HTTP request failed
'''
["PD:http:ErrWriteHTTPBody"]
error = '''
write HTTP body failed
'''
["PD:ioutil:ErrIORead"]
error = '''
IO read error
'''
["PD:json:ErrJSONMarshal"]
error = '''
failed to marshal json
'''
["PD:json:ErrJSONUnmarshal"]
error = '''
failed to unmarshal json
'''
["PD:leveldb:ErrLevelDBClose"]
error = '''
close leveldb error
'''
["PD:leveldb:ErrLevelDBOpen"]
error = '''
leveldb open file error
'''
["PD:leveldb:ErrLevelDBWrite"]
error = '''
leveldb write error
'''
["PD:log:ErrInitLogger"]
error = '''
init logger error
'''
["PD:logutil:ErrInitFileLog"]
error = '''
init file log error, %s
'''
["PD:member:ErrEtcdLeaderNotFound"]
error = '''
etcd leader not found
'''
["PD:member:ErrMarshalLeader"]
error = '''
marshal leader failed
'''
["PD:netstat:ErrNetstatTCPSocks"]
error = '''
TCP socks error
'''
["PD:os:ErrOSOpen"]
error = '''
open error
'''
["PD:placement:ErrBuildRuleList"]
error = '''
build rule list failed, %s
'''
["PD:placement:ErrLoadRule"]
error = '''
load rule failed
'''
["PD:placement:ErrLoadRuleGroup"]
error = '''
load rule group failed
'''
["PD:placement:ErrRuleContent"]
error = '''
invalid rule content, %s
'''
["PD:plugin:ErrLoadPlugin"]
error = '''
failed to load plugin
'''
["PD:plugin:ErrLookupPluginFunc"]
error = '''
failed to lookup plugin function
'''
["PD:progress:ErrProgressNotFound"]
error = '''
no progress found for %s
'''
["PD:progress:ErrProgressWrongStatus"]
error = '''
progress status is wrong
'''
["PD:prometheus:ErrPrometheusCreateClient"]
error = '''
create client error
'''
["PD:prometheus:ErrPrometheusPushMetrics"]
error = '''
push metrics to gateway failed
'''
["PD:prometheus:ErrPrometheusQuery"]
error = '''
query error
'''
["PD:proto:ErrProtoMarshal"]
error = '''
failed to marshal proto
'''
["PD:proto:ErrProtoUnmarshal"]
error = '''
failed to unmarshal proto
'''
["PD:region:ErrRegionRuleContent"]
error = '''
invalid region rule content, %s
'''
["PD:region:ErrRegionRuleNotFound"]
error = '''
region label rule not found for id %s
'''
["PD:schedule:ErrCreateOperator"]
error = '''
unable to create operator, %s
'''
["PD:schedule:ErrMergeOperator"]
error = '''
merge operator error, %s
'''
["PD:schedule:ErrUnexpectedOperatorStatus"]
error = '''
operator with unexpected status
'''
["PD:schedule:ErrUnknownOperatorStep"]
error = '''
unknown operator step found
'''
["PD:scheduler:ErrCacheOverflow"]
error = '''
cache overflow
'''
["PD:scheduler:ErrInternalGrowth"]
error = '''
unknown interval growth type error
'''
["PD:scheduler:ErrScheduleConfigNotExist"]
error = '''
the config does not exist
'''
["PD:scheduler:ErrSchedulerConfig"]
error = '''
wrong scheduler config %s
'''
["PD:scheduler:ErrSchedulerCreateFuncNotRegistered"]
error = '''
create func of %v is not registered
'''
["PD:scheduler:ErrSchedulerDuplicated"]
error = '''
scheduler duplicated
'''
["PD:scheduler:ErrSchedulerExisted"]
error = '''
scheduler existed
'''
["PD:scheduler:ErrSchedulerNotFound"]
error = '''
scheduler not found
'''
["PD:semver:ErrSemverNewVersion"]
error = '''
new version error
'''
["PD:server:ErrAPIInformationInvalid"]
error = '''
invalid api information, group %s version %s
'''
["PD:server:ErrCancelStartEtcd"]
error = '''
etcd start canceled
'''
["PD:server:ErrClientEmpty"]
error = '''
client url empty
'''
["PD:server:ErrConfiguration"]
error = '''
cannot set invalid configuration
'''
["PD:server:ErrLeaderNil"]
error = '''
leader is nil
'''
["PD:server:ErrServerNotStarted"]
error = '''
server not started
'''
["PD:server:ErrServiceRegistered"]
error = '''
service with path [%s] already registered
'''
["PD:strconv:ErrStrconvParseBool"]
error = '''
parse bool error
'''
["PD:strconv:ErrStrconvParseFloat"]
error = '''
parse float error
'''
["PD:strconv:ErrStrconvParseInt"]
error = '''
parse int error
'''
["PD:strconv:ErrStrconvParseUint"]
error = '''
parse uint error
'''
["PD:tso:ErrGenerateTimestamp"]
error = '''
generate timestamp failed, %s
'''
["PD:tso:ErrGetAllocator"]
error = '''
get allocator failed, %s
'''
["PD:tso:ErrGetLocalAllocator"]
error = '''
get local allocator failed, %s
'''
["PD:tso:ErrLogicOverflow"]
error = '''
logic part overflow
'''
["PD:tso:ErrProxyTSOTimeout"]
error = '''
proxy tso timeout
'''
["PD:tso:ErrResetUserTimestamp"]
error = '''
reset user timestamp failed, %s
'''
["PD:tso:ErrSetLocalTSOConfig"]
error = '''
set local tso config failed, %s
'''
["PD:tso:ErrSyncMaxTS"]
error = '''
sync max ts failed, %s
'''
["PD:typeutil:ErrBytesToUint64"]
error = '''
invalid data, must 8 bytes, but %d
'''
["PD:unsaferecovery:ErrUnsafeRecoveryInvalidInput"]
error = '''
invalid input %s
'''
["PD:unsaferecovery:ErrUnsafeRecoveryIsRunning"]
error = '''
unsafe recovery is running
'''
["PD:url:ErrQueryUnescape"]
error = '''
inverse transformation of QueryEscape error
'''
["PD:url:ErrURLParse"]
error = '''
parse url error
'''
["PD:versioninfo:ErrFeatureNotExisted"]
error = '''
feature not existed
'''