Yicheng Qin
f3d2b5831c
Merge pull request #3558 from yichengq/watch
...
storage: add tests for RangeEvents and its underlying functions
2015-09-20 23:58:41 -07:00
Xiang Li
cbddb8670a
Merge pull request #3561 from ceh/raft-doc-typo
...
raft: fix Node doc typo
2015-09-20 21:52:34 -07:00
Emil Hessman
b9f22cb69b
raft: fix Node doc typo
2015-09-21 06:13:33 +02:00
Yicheng Qin
d72914c36f
storage: clarify comment for store.RangeEvents and fix related bugs
...
Change to the function:
1. specify the meaning of startRev and endRev parameters
2. specify the meaning of returned nextRev
Moreover, it adds unit tests for the function.
2015-09-19 23:17:03 -07:00
Yicheng Qin
5709b66dfb
storage: add unit test for index.RangeEvents
2015-09-19 23:08:24 -07:00
Yicheng Qin
87b5143b15
storage: fix missing continue in keyIndex.since
...
It should continue to skip following operations.
The test from rev14 to rev0 fails if it doesn't call continue and append
all revisions of the same main rev to the list.
2015-09-19 23:01:18 -07:00
Yicheng Qin
158d6e0e03
storage: fix calculating generation in keyIndex.since
...
It should skip last empty generation when the key is just tombstoned.
The rev15 and rev16 in the test fails if it doesn't skip last empty generation
and find previous generations.
2015-09-19 22:58:45 -07:00
Xiang Li
06180be154
Merge pull request #3533 from xiang90/proxy
...
proxy: expose proxy configuration
2015-09-18 14:18:06 -07:00
Xiang Li
ac29432aab
proxy: add a test for configHandler
2015-09-18 13:43:54 -07:00
Xiang Li
0f9b2046ef
Merge pull request #3547 from bdarnell/multinode-node-ids
...
raft: Allow per-group nodeIDs in MultiNode.
2015-09-18 13:29:07 -07:00
Ben Darnell
b7baaa6bc8
raft: Allow per-group nodeIDs in MultiNode.
...
This feature is motivated by
https://github.com/cockroachdb/cockroach/blob/master/docs/RFCS/replica_tombstone.md
which requires a change to the way CockroachDB constructs its node IDs.
2015-09-18 15:36:36 -04:00
Yicheng Qin
be80d11948
storage: enhance test for keyIndex.Get and keyIndex.Compact
...
It covers the case that one key is set multiple times in one main
revision now.
2015-09-17 18:26:17 -07:00
Yicheng Qin
cedad49dcf
Merge pull request #3543 from mitake/reconfig-remove
...
etcdserver: forbid removing started member if quorum cannot be preserved in strict reconfig mode
2015-09-17 18:22:53 -07:00
Hitoshi Mitake
f8859a980d
etcdserver: forbid removing started member if quorum cannot be preserved in strict reconfig mode
...
Like the commit 6974fc63ed87, this commit lets etcdserver forbid
removing started member if quorum cannot be preserved after
reconfiguration if the option -strict-reconfig-check is passed to
etcd. The removal can cause deadlock if unstarted members have wrong
peer URLs.
2015-09-18 10:09:57 +09:00
Xiang Li
c4b3ad72d9
Merge pull request #3544 from xiang90/bench
...
v3benchmark: add put benchmark
2015-09-17 15:10:13 -07:00
Xiang Li
f69582e1a2
v3benchmark: add put benchmark
2015-09-17 14:48:07 -07:00
Yicheng Qin
97b67fdbfc
Merge pull request #3548 from yichengq/travis
...
storage/backend: extend wait timeout for commit to finish
2015-09-16 14:22:46 -07:00
Yicheng Qin
f7efbe8b14
storage/backend: extend wait timeout for commit to finish
...
It needs to take more time on travis. Fix:
```
--- FAIL: TestBackendBatchIntervalCommit (0.01s)
backend_test.go:113: bucket test does not exit
```
2015-09-16 14:14:51 -07:00
Xiang Li
ec4142576e
Merge pull request #3534 from xiang90/grpc_err
...
etcdserver: better v3 api error handling
2015-09-16 12:32:28 -07:00
Xiang Li
804d80387d
Merge pull request #3546 from gae123/patch-1
...
doc: update admin_guide.md for the recent Go1.5 default MAXPROCS change
2015-09-16 10:44:38 -07:00
gae123
7fb0eb8f56
doc: update admin_guide.md for the recent Go1.5 default MAXPROCS change
2015-09-16 10:43:40 -07:00
Xiang Li
ce47161ae0
Merge pull request #3540 from xiang90/bench
...
Godep: add cheggaaa dependency
2015-09-15 16:27:07 -07:00
Xiang Li
4628d08879
Godep: add cheggaaa dependency
2015-09-15 16:24:31 -07:00
Xiang Li
3a2700141e
Merge pull request #3539 from xiang90/bench
...
godep: use github.com/cheggaaa/pb
2015-09-15 16:12:34 -07:00
Xiang Li
38dd680f2e
godep: use github.com/cheggaaa/pb
2015-09-15 16:08:07 -07:00
Xiang Li
8bb50635ce
Merge pull request #3538 from xiang90/bench
...
benchmarkv3: refactoring the main logic
2015-09-15 15:58:32 -07:00
Xiang Li
4deb12fbbb
benchmarkv3: refactoring the main logic
2015-09-15 15:57:38 -07:00
Jonathan Boulle
3221b6787e
Merge pull request #3537 from jonboulle/master
...
*: add missing license headers + test
2015-09-15 14:19:17 -07:00
Jonathan Boulle
108f97d63e
test: add license header check
2015-09-15 14:09:01 -07:00
Jonathan Boulle
7848ac3979
*: add missing license headers
2015-09-15 14:09:01 -07:00
Xiang Li
867954f3ad
Merge pull request #3535 from xiang90/rev
...
storage: add rev into kv interface
2015-09-15 12:54:29 -07:00
Xiang Li
6d1f0ce89f
storage: add rev into kv interface
2015-09-15 12:11:00 -07:00
Xiang Li
94f4069a25
etcdserver: better v3 api error handling
2015-09-15 11:20:06 -07:00
Xiang Li
e079f87410
proxy: expose proxy configuration
2015-09-15 10:27:51 -07:00
Yicheng Qin
c082488e23
Merge pull request #3507 from yichengq/watch
...
storage: support basic watch
2015-09-15 00:04:36 -07:00
Yicheng Qin
ec43e0a4c3
storage: introduce WatchableKV and watch feature
...
WatchableKV is an interface upon KV, and supports watch feature.
2015-09-14 23:53:03 -07:00
Yicheng Qin
34bfac99c4
Merge pull request #3529 from yichengq/snapshot
...
etcdserver: rename db file into a formal directory
2015-09-14 23:43:17 -07:00
Yicheng Qin
352cd768c6
etcdserver: fix shadow declaration
2015-09-14 23:25:16 -07:00
Yicheng Qin
05c74bd890
etcdserver: rename db file into a formal directory
...
and rename it to a formal name
2015-09-14 22:41:40 -07:00
Yicheng Qin
51f1ee055e
Merge pull request #3526 from yichengq/snapshot
...
etcdserver: forbid to unset v3 demo once used
2015-09-14 21:36:39 -07:00
Yicheng Qin
1f0fb3d9aa
etcdserver: forbid to unset v3 demo once used
...
After enabling v3 demo, it may change the underlying data organization
for v3 store. So we forbid to unset --experimental-v3demo once it has
been used.
2015-09-14 21:27:11 -07:00
Xiang Li
b1c2d7e526
Merge pull request #3528 from xiang90/compact
...
*: support v3 compaction
2015-09-14 20:04:50 -07:00
Xiang Li
94f784826a
*: support v3 compaction
2015-09-14 19:59:36 -07:00
Xiang Li
e0d8923f7b
Merge pull request #3524 from xiang90/grpc_error
...
etcdserver: use gRPC error instead of error message in header
2015-09-14 16:38:44 -07:00
Xiang Li
7183387110
etcdserver: use gRPC error instead of error message in header
2015-09-14 16:11:13 -07:00
Xiang Li
d04382c30e
Merge pull request #3525 from gyuho/master
...
etcdserver, store: fix grammars in comments (a->an existing)
2015-09-14 13:47:49 -07:00
Gyu-Ho Lee
c2dcf7431e
etcdserver, store: fix grammars in comments (a->an existing)
...
I found some grammatical errors in comments.
This pull request was submitted https://github.com/coreos/etcd/pull/3513 .
I am resubmitting following the correct guidlines.
2015-09-14 13:41:13 -07:00
Yicheng Qin
1fc122741d
Merge pull request #3521 from raoofm/patch-3
...
doc: faq.md change flag --peers to --endpoint
2015-09-14 09:43:41 -07:00
Xiang Li
c7b4c67436
Merge pull request #3514 from xiang90/v3_raft
...
support clustered v3 api
2015-09-14 09:35:02 -07:00
Raoof Mohammed
d685135832
doc: faq.md change flag --peers to --endpoint
...
doc: faq.md change flag --peers to --endpoint
Changing the flag to --endpoint and mentioning that --peers is deprecated.
2015-09-14 12:22:06 -04:00