Skip to content

Instantly share code, notes, and snippets.

View a-robinson's full-sized avatar

Alex Robinson a-robinson

View GitHub Profile
SIGQUIT: quit
PC=0x461301 m=0 sigcode=0
goroutine 0 [idle]:
runtime.futex(0x4ad8d48, 0x80, 0x0, 0x0, 0xc000000000, 0x424587, 0x4ad83e0, 0x7fffbc477208, 0x7fffbc4770b8, 0x40ad9f, ...)
/usr/local/go/src/runtime/sys_linux_amd64.s:535 +0x21
runtime.futexsleep(0x4ad8d48, 0x7fd700000000, 0xffffffffffffffff)
/usr/local/go/src/runtime/os_linux.go:44 +0x46
runtime.notesleep(0x4ad8d48)
/usr/local/go/src/runtime/lock_futex.go:151 +0x9f
runtime.stopm()
SIGQUIT: quit
PC=0x461301 m=0 sigcode=0
goroutine 0 [idle]:
runtime.futex(0x4ad8d48, 0x80, 0x0, 0x0, 0x200000000, 0x0, 0x42c9fc, 0x40aa7d, 0x7ffed885afe8, 0x40ad9f, ...)
/usr/local/go/src/runtime/sys_linux_amd64.s:535 +0x21
runtime.futexsleep(0x4ad8d48, 0x100000000, 0xffffffffffffffff)
/usr/local/go/src/runtime/os_linux.go:44 +0x46
runtime.notesleep(0x4ad8d48)
/usr/local/go/src/runtime/lock_futex.go:151 +0x9f
runtime.stopm()
I181024 21:09:44.453654 12673791 server/debug/logspy.go:182 intercepting logs with options {Count:1000 Duration:10s Grep:conten}
I181024 21:09:44.919736 12674449 storage/intent_resolver.go:188 [n1,s1] adding 8e771261 to contention queue on intent /Table/54/1/9/1/0 @5aa93651
I181024 21:09:45.896485 12673304 storage/intent_resolver.go:257 [n1,s1] 394dca99 exiting contention queue to proceed
I181024 21:09:45.896828 940 storage/intent_resolver.go:257 [n1,s1] 609482f3 exiting contention queue to proceed
I181024 21:09:45.898780 12673981 storage/intent_resolver.go:257 [n1,s1] 474e5ae7 exiting contention queue to proceed
I181024 21:09:45.909042 12673981 storage/intent_resolver.go:188 [n1,s1] adding 474e5ae7 to contention queue on intent /Table/54/1/7/9/0 @609482f3
I181024 21:09:45.910162 12675247 storage/intent_resolver.go:188 [n1,s1] adding ddea36a9 to contention queue on intent /Table/54/1/7/9/0 @609482f3
I181024 21:09:45.910452 12675246 storage/intent_resolver.go:188 [n1,s1] adding 394dca99 to contention q
I180616 05:51:48.813626 31147584 server/debug/logspy.go:182 intercepting logs with options {Count:1000 Duration:1m0s Grep:(updating leaseholder)|(trying next peer)}
I180616 05:51:50.602776 20408541 kv/leaseholder_cache.go:97 [client=10.142.0.54:51180,user=root,txn=c292d1a4,ts=1529128309.895128944,0,n12] r27039: updating leaseholder: 30
I180616 05:51:50.602859 20408541 kv/dist_sender.go:1317 [client=10.142.0.54:51180,user=root,txn=c292d1a4,ts=1529128309.895128944,0,n12] error: (err: [NotLeaseHolderError] r27039: replica (n19,s17):2 not lease holder; current lease is repl=(n30,s30):1 seq=20 start=1529123096.836355185,0 epo=9 pro=1529123113.591331116,0) <nil>; trying next peer (n30,s30):1
I180616 05:51:51.118390 20437201 kv/leaseholder_cache.go:97 [client=10.142.0.54:53520,user=root,txn=48925b1f,ts=1529128310.750843194,0,n12] r43226: updating leaseholder: 26
I180616 05:51:51.118480 20437201 kv/dist_sender.go:1317 [client=10.142.0.54:53520,user=root,txn=48925b1f,ts=1529128310.750843194,0,n12] error: (err: [N
2018-06-20T20:24:46.926495Z warn Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
2018-06-20T20:24:46.928320Z info clusters configuration (*clusterregistry.ClusterStore)(0xc4203edfe0)({
rc: (map[clusterregistry.Metadata]*clusterregistry.RemoteCluster) {
},
storeLock: (sync.RWMutex) {
w: (sync.Mutex) {
state: (int32) 0,
sema: (uint32) 0
},
writerSem: (uint32) 0,
This file has been truncated, but you can view the full file.
root@:26257/defaultdb> show trace for show testing_ranges from table foo;
+----------------------------------+----------------------+--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+---------------------------------+-------------------------------------------------------+------+
| timestamp | age | message | tag | loc | operation | span |
+----------------------------------+----------------------+--------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------
#!/usr/env python
import json
import sys
#biggestRange = 0
#biggestRaftLog = 0
def queriesPerSecond(rangeInfo):
for node in rangeInfo["nodes"]:
rangeID QPS WPS leaseholder
55016: 41.534939 5.829741 n11
55094: 36.641483 5.414222 n11
54923: 34.524706 5.546913 n11
57922: 29.247217 7.522521 n11
57811: 29.083061 7.173413 n11
58028: 29.062745 7.174762 n11
61493: 28.943420 7.250111 n11
61691: 27.938945 7.414352 n11
56933: 27.546123 6.945967 n11
26951.669ms 0.024ms event:[n1,client=10.142.15.204:47136,user=root] Scan /Table/55/1/900{-/#}
26951.679ms 0.010ms operation:dist sender
26951.690ms 0.011ms event:[client=10.142.15.204:47136,user=root,txn=779a7ccb,n1] querying next range at /Table/55/1/900
26951.724ms 0.034ms event:[client=10.142.15.204:47136,user=root,txn=779a7ccb,n1] r55510: sending batch 1 Scan to (n11,s11):2
26951.746ms 0.022ms event:[client=10.142.15.204:47136,user=root,txn=779a7ccb,n1] sending request to alex-tpcc-0027:26257
26951.761ms 0.014ms operation:/cockroach.roachpb.Internal/Batch component:gRPC sb:1 span.kind:client txnID:779a7ccb-5b5d-4a8c-8c02-33a5937f9510
26953.002ms 1.242ms operation:/cockroach.roachpb.Internal/Batch component:gRPC sb:1 span.kind:server txnid:779a7ccb-5b5d-4a8c-8c02-33a5937f9510
26953.040ms 0.038ms event:[n11] 1 Scan
26953.049ms 0.008ms event:[n11,s11] executing 1 request
apiVersion: v1
kind: Pod
metadata:
name: loadgen-kv
labels:
app: loadgen-kv
spec:
containers:
- name: loadgen-kv
image: cockroachdb/loadgen-kv:0.2