54c4d5005d
Merge pull request #2673 from ecnahc515/create_in_order
...
client: Add CreateInOrder method to client.KeysAPI
2015-04-16 13:34:09 -07:00
ee54aa3f02
Merge pull request #2697 from coreos/robszumski-patch-1
...
docs: size up all headers by 2
2015-04-16 10:10:35 -07:00
df32fe63c8
docs: size up all headers by 2
2015-04-16 09:55:46 -07:00
38a373ede9
Merge pull request #2692 from philips/add-migration-guide
...
Documentation: add migration notes to backward compatibility
2015-04-16 07:05:07 -07:00
a223fd532b
Documentation: add migration notes to backward compatibility
...
Add thorough notes on both the data directory migration and the snapshot
migration options.
2015-04-15 20:42:12 -07:00
3e5d1cd873
Merge pull request #2678 from xiang90/fix_snapshot
...
snap: load should only return ErrNoSnapshot
2015-04-15 09:53:17 -07:00
f697916793
snap: load should only return ErrNoSnapshot
...
If there is no available snapshot, load should return
ErrNoSnapshot. etcdserver might recover from that error
if it still have complete WAL files.
2015-04-15 09:41:07 -07:00
0c3a92f855
Merge pull request #2663 from xiang90/wal_b
...
wal: report throughput in wal bench
2015-04-15 09:32:17 -07:00
da098ad713
Merge pull request #2685 from xiang90/fix_server
...
etcdserver: prevExist=true + condition is compareAndSwap
2015-04-15 09:17:13 -07:00
98f8dfbc9d
etcdserver: prevExist=true + condition is compareAndSwap
...
PrevExist indicates the key should exist. Condition compares with
an existing key. So PrevExist+condition = CompareAndSwap not Update.
2015-04-14 23:44:06 -07:00
3aa7a31771
Merge pull request #2680 from xiang90/fix_backup
...
etcdctl: backup tool should use the new layout
2015-04-14 11:50:14 -07:00
d3778b1286
etcdctl: backup tool should use the new layout
2015-04-14 11:49:54 -07:00
d89a8628c6
client: Add CreateInOrder method to client.KeysAPI
...
Allows creating nodes within a given directory with atomically increasing
keys
2015-04-13 17:23:17 -07:00
f480a8b051
Merge pull request #2665 from xiaost/fix-minor-bug-in-etcdserver-send
...
etcdserver: fix minor bug in EtcdServer.send
2015-04-13 07:27:12 -07:00
eab2c2224a
etcdserver: fix minor bug in EtcdServer.send
...
it seems to nothing serious.
after deleted peers, the log may output:
"etcdserver: send message to unknown receiver %s"
2015-04-13 20:35:58 +08:00
aed18395c9
wal: report throughput in wal bench
2015-04-12 21:35:08 -07:00
25f1feceb5
Merge pull request #2645 from xiang90/fix_more
...
wal: never leave a corrupted wal file
2015-04-09 10:30:54 -07:00
852213879b
Merge pull request #2633 from yichengq/deprecate
...
etcdmain: deprecate --ca-file and --peer-ca-file
2015-04-09 10:22:30 -07:00
2f7b9a2232
etcdmain: deprecate --ca-file and --peer-ca-file
...
1. Print out DEPRECATE warning when running and configuration doc.
2. Use new flags for security example.
2015-04-09 10:14:32 -07:00
89242d4659
wal: better log msg
2015-04-09 09:54:20 -07:00
6a9e414961
Merge pull request #2603 from xiang90/dnssrv
...
*: stop using resolved tcp addr
2015-04-09 09:46:56 -07:00
9b65ff6959
discovery: drop trailing . from srv target
2015-04-09 07:08:22 -07:00
f5d4c86153
discovery: add a test case for srv
...
During srv discovery, it should try to match local member with
resolved addr and return unresolved hostnames for the cluster.
2015-04-09 07:07:27 -07:00
a3892221ee
*: stop using resolved tcp addr
...
We start to resolve host into tcp addrs since we generate
tcp based initial-cluster during srv discovery. However it
creates problems around tls and cluster verification. The
srv discovery only needs to use resolved the tcp addr to
find the local node. It does not have to resolve everything
and use the resolved addrs.
This fixes #2488 and #2226
2015-04-09 07:01:48 -07:00
486eb8f6a8
Merge pull request #2641 from yichengq/fix-build-release
...
scripts: not put etcd-migrate into release dir
2015-04-08 17:22:18 -07:00
53792ccbdc
wal: never leave a corrupted wal file
...
If the process dies during wal.cut(), it might leave a corrupted wal
file. This commit solves the problem by creating a temp wal file first,
then atomically rename it to a wal file when we are sure it is vaild.
2015-04-08 15:57:20 -07:00
2141308524
Merge pull request #2631 from yichengq/metrics-fd
...
etcdserver: metrics and monitor number of file descriptor
2015-04-08 11:28:58 -07:00
7a7e1f7a7c
etcdserver: metrics and monitor number of file descriptor
...
It exposes the metrics of file descriptor limit and file descriptor used.
Moreover, it prints out warning when more than 80% of fd limit has been used.
```
2015/04/08 01:26:19 etcdserver: 80% of the file descriptor limit is open
[open = 969, limit = 1024]
```
2015-04-08 11:17:48 -07:00
252a931666
Merge pull request #2642 from yichengq/protect-wal
...
wal: allow at most one WAL function called at one time
2015-04-08 09:42:00 -07:00
44de670de7
wal: allow at most one WAL function called at one time
...
SaveSnap and Save are called in separate goroutines now. Allow at most
one WAL function being called at one time to protect internal fields and
guarantee execution order.
Or one possible bug is that the new cut file is started with snapshot
entry instead of crc entry.
2015-04-08 00:34:30 -07:00
91e9a24289
scripts: not put etcd-migrate into release dir
...
etcd-migrate has been integrated with etcd, and there is no need to put
it into release dir any more.
2015-04-07 16:04:52 -07:00
c66777f80f
Merge pull request #2640 from xiang90/import
...
etcdctl: refactor message in import command
2015-04-07 15:09:34 -07:00
8c0b01d35b
etcdctl: refactor message in import command
2015-04-07 15:08:07 -07:00
1b4bcedf99
Merge pull request #2637 from bakins/proxy-randomize-endpoints
...
proxy: shuffle endpoints
2015-04-07 14:12:50 -07:00
1fa511b995
Clarify that it is the proxy doing the shuffle.
2015-04-07 17:05:17 -04:00
74fd2b0536
Merge pull request #2638 from xiang90/import
...
etcdctl: import hidden keys
2015-04-07 12:53:18 -07:00
2c647409b9
etcdctl: import hidden keys
2015-04-07 12:41:05 -07:00
e1622cd22c
proxy: shuffle endpoints
...
Shuffle endpoitns to avoid being "stuck" to a single cluster member.
2015-04-07 15:40:29 -04:00
8e9f2bb9e6
Merge pull request #2634 from xiang90/client-new
...
client: add dir/ttl fields into node
2015-04-07 09:11:19 -07:00
ec1fab3dc1
Merge pull request #2635 from yichengq/fix-doc
...
docs: fix broken link for migration tool
2015-04-07 09:03:30 -07:00
552acd8c37
docs: fix broken link for migration tool
2015-04-06 22:55:37 -07:00
666a97271d
client: add dir/ttl fields into node
2015-04-06 21:47:20 -07:00
374a18130a
Merge pull request #2629 from crawford/ports
...
*: update to use IANA-assigned ports
2015-04-06 13:57:18 -07:00
d9ad6aa2a9
*: update to use IANA-assigned ports
2015-04-06 13:49:43 -07:00
739db062d4
Merge pull request #2630 from yichengq/remove-coreos-pkg
...
pkg: remove unused pkg/coreos
2015-04-06 13:41:03 -07:00
2b830dd64b
pkg: remove unused pkg/coreos
...
The package was used in upgrade path, and is not used anywhere now.
2015-04-06 13:33:42 -07:00
7d10385ec6
Merge pull request #2617 from yichengq/add-tls-test
...
integration: add TestTLSClusterUsingDiscovery and TestDoubleTLSCluster
2015-04-06 09:46:08 -07:00
27083093d3
Merge pull request #2627 from mateusbraga/patch-2
...
osutil: fix InterruptHandler comment position
2015-04-04 09:06:55 -07:00
cec8466ad2
osutil: fix InterruptHandler comment position
2015-04-04 11:32:42 -04:00
c777516a5d
Merge pull request #2620 from yichengq/new-rafthttp-msgapp
...
rafthttp: introduce msgappv2 stream format
2015-04-03 17:13:05 -07:00