Skip to content

Instantly share code, notes, and snippets.

diff --git a/storage/addressing_test.go b/storage/addressing_test.go
index cd96e54..a432d65 100644
--- a/storage/addressing_test.go
+++ b/storage/addressing_test.go
@@ -137,7 +137,7 @@ func TestUpdateRangeAddressing(t *testing.T) {
t.Fatal(err)
}
}
- if err := store.DB().Run(b); err != nil {
+ if err := store.DB().Run(context.TODO(), b); err != nil {
=== RUN TestWaitForFullReplication
I160906 11:36:32.496285 927 storage/engine/rocksdb.go:354 opening in memory rocksdb instance
I160906 11:36:32.524863 927 gossip/gossip.go:230 [n?] initial resolvers: []
W160906 11:36:32.525013 927 gossip/gossip.go:1041 [n?] no resolvers found; use --join to specify a connected node
W160906 11:36:32.529079 927 server/status/runtime.go:109 Could not parse build timestamp: parsing time "" as "2006/01/02 15:04:05": cannot parse "" as "2006"
I160906 11:36:32.544720 927 server/node.go:413 [n?] store store=0:0 not bootstrapped
I160906 11:36:32.573024 980 storage/replica.go:2237 [s1,r1{/Min-/Max}] applying command with forced error: storage/replica.go:2162: no-op on empty Raft entry
E160906 11:36:32.573772 980 storage/replica.go:2272 [s1,r1{/Min-/Max}] error executing raft command: storage/replica.go:2162: no-op on empty Raft entry
I160906 11:36:32.574558 980 storage/replica_trigger.go:308 [s1,r1{/Min-/Max}] new range lease replica {1 1 1} 1970-01-01 00:00:00 +0000 UTC 409
=== RUN TestErrorOnCommitResultsInRollback
I160901 19:37:59.725452 18579 storage/engine/rocksdb.go:354 opening in memory rocksdb instance
I160901 19:37:59.741085 18579 gossip/gossip.go:230 [n?] initial resolvers: []
W160901 19:37:59.741227 18579 gossip/gossip.go:1041 [n?] no resolvers found; use --join to specify a connected node
W160901 19:37:59.744218 18579 server/status/runtime.go:109 Could not parse build timestamp: parsing time "" as "2006/01/02 15:04:05": cannot parse "" as "2006"
I160901 19:37:59.748327 18579 server/node.go:413 [n?] store store=0:0 not bootstrapped
I160901 19:37:59.755629 18558 storage/replica.go:2139 [s1,r1{/Min-/Max}] applying command with forced error: storage/replica.go:2064: no-op on empty Raft entry
E160901 19:37:59.756229 18558 storage/replica.go:2174 [s1,r1{/Min-/Max}] error executing raft command: storage/replica.go:2064: no-op on empty Raft entry
I160901 19:37:59.756702 18558 storage/replica_trigger.go:308 new range lease replica {1 1 1} 1970-01-01 00:00:00 +0000 UT
=== RUN TestSplitSnapshotRace_SplitWins
I160908 13:58:27.759533 16537 storage/engine/rocksdb.go:356 opening in memory rocksdb instance
I160908 13:58:27.760431 16537 gossip/gossip.go:230 initial resolvers: []
W160908 13:58:27.760464 16537 gossip/gossip.go:1041 no resolvers found; use --join to specify a connected node
I160908 13:58:27.760548 16537 gossip/gossip.go:264 NodeID set to 1
I160908 13:58:27.761617 16537 rpc/context.go:211 dialing 127.0.0.1:56337
I160908 13:58:27.761970 16537 gossip/gossip.go:264 NodeID set to 1
I160908 13:58:27.762388 16537 storage/store.go:994 [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available
I160908 13:58:27.762441 16537 gossip/gossip.go:278 NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"127.0.0.1:56337" > attrs:<>
I160908 13:58:27.762637 16574 storage/replica.go:2835 [s1,r1{/Min-/Max}] gossiping cluster id {"00000000-0000-0000-0000-000000000000"} from store 1, range 1
#!/usr/bin/env bash
shopt -s histappend
HISTFILESIZE=1000000
HISTCONTROL=ignoreboth
PROMPT_COMMAND='history -a'
brew_prefix="$(brew --prefix)"
# shellcheck source=/usr/local/etc/bash_completion
commit 1288923786d3dc39ebf18b214b579002185b5476
Author: Tamir Duberstein <tamird@gmail.com>
Date: Fri Sep 2 12:23:06 2016 -0400
storage: define streaming snapshots in terms of shared code
Reduces duplication between normal raft processing and streaming
snapshot application.
With @jordanlewis.
=== RUN TestRaceWithBackfill
I160831 21:46:17.852726 18171 storage/engine/rocksdb.go:354 opening in memory rocksdb instance
I160831 21:46:17.900512 18171 gossip/gossip.go:230 [n?] initial resolvers: []
W160831 21:46:17.900731 18171 gossip/gossip.go:1041 [n?] no resolvers found; use --join to specify a connected node
W160831 21:46:17.907434 18171 server/status/runtime.go:109 Could not parse build timestamp: parsing time "" as "2006/01/02 15:04:05": cannot parse "" as "2006"
I160831 21:46:17.915087 18171 server/node.go:413 [n?] store store=0:0 not bootstrapped
I160831 21:46:17.945704 18154 storage/replica.go:2237 [s1,r1{/Min-/Max}] applying command with forced error: storage/replica.go:2162: no-op on empty Raft entry
E160831 21:46:17.946976 18154 storage/replica.go:2272 [s1,r1{/Min-/Max}] error executing raft command: storage/replica.go:2162: no-op on empty Raft entry
I160831 21:46:17.948354 18154 storage/replica_trigger.go:308 [s1,r1{/Min-/Max}] new range lease replica {1 1 1} 1970-01-01 00:00:00 +00
panic: timed out during shutdown [recovered]
panic: timed out during shutdown [recovered]
panic: timed out during shutdown
goroutine 14233 [running]:
panic(0x159cec0, 0xc420eebbd0)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
testing.tRunner.func1(0xc4211400c0)
/usr/local/go/src/testing/testing.go:579 +0x25d
panic(0x159cec0, 0xc420eebbd0)
panic: test timed out after 8m0s
goroutine 19170 [running]:
panic(0x1a77c20, 0xc4200120c0)
/usr/local/go/src/runtime/panic.go:500 +0x1ae
testing.startAlarm.func1()
/usr/local/go/src/testing/testing.go:918 +0x14e
created by time.goFunc
/usr/local/go/src/time/sleep.go:154 +0x78
panic: test timed out after 8m0s
goroutine 383962 [running]:
panic(0x1aef200, 0xc420e174e0)
/usr/local/go/src/runtime/panic.go:500 +0x1ae
testing.startAlarm.func1()
/usr/local/go/src/testing/testing.go:918 +0x14e
created by time.goFunc
/usr/local/go/src/time/sleep.go:154 +0x78