shivaramr
9150bf52d6
go modules: Fix module path version to include version number
2019-04-26 15:29:50 -07:00
Jingyi Hu
5b6b03d081
etcdctl: add timeout to snapshot save command
...
snapshot save command by default has no timeout, but respects user
specified command timeout.
2018-12-04 20:36:48 -08:00
Gyuho Lee
d37f1521b7
*: update import paths to "go.etcd.io/etcd"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 17:47:55 -07:00
Gyuho Lee
4d80753804
etcdctl: rename internal snapshot packages
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-05-21 07:45:34 -07:00
Gyuho Lee
ae9ccd883d
etcdctl/ctlv3: fix snapshot command e2e tests
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-16 17:36:00 -07:00
Gyuho Lee
90e5af76f3
etcdctl/ctlv3: use new snapshot package
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-12 10:49:48 -07:00
Gyuho Lee
18b1d1ff65
ctlv3: update logger for snapshot command
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-06 11:05:58 -07:00
Gyuho Lee
4e0c00244d
*: remove "pkg/logger", replace with "pkg/logutil"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-03-07 10:49:25 -08:00
Gyuho Lee
a2ce52d8c2
etcdctl/ctlv3: use "logger.NewPackageLogger"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-05 13:50:54 -08:00
Gyuho Lee
df689f4280
etcdctl/ctlv3: use "snapshot" package for "snapshot" command
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-22 16:46:15 -08:00
Gyuho Lee
c3ba417737
etcdctl/ctlv3: replace "dbStatus" with "snapshot.Status"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-22 16:46:15 -08:00
Gyuho Lee
285a83d70a
ctlv3: add "snapshot restore --wal-dir"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-09 09:25:26 -08:00
zhesi.huang
0ce02abf59
etcdctl: fix snapshot status accidentally modified the db file
2017-11-09 01:07:48 +08:00
Jeffrey Gensler
7ffcca5946
etcdctl: close snapshot backend to close open file on member/snap/db
2017-10-20 15:25:21 -07:00
Gyu-Ho Lee
f65aee0759
*: replace 'golang.org/x/net/context' with 'context'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 13:39:42 -07:00
Gyu-Ho Lee
318e9c766f
*: replace 'boltdb' import paths with 'coreos/bbolt'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-05 14:32:13 -07:00
Gyu-Ho Lee
aca2abd8fe
*: use 'io.Seek*' for go1.7+
...
For https://github.com/coreos/etcd/issues/6174 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-03-20 15:15:24 -07:00
Anthony Romano
2f1542c06d
*: use filepath.Join for files
2017-03-16 07:46:06 -07:00
Anthony Romano
d1dcc828c8
etcdctl: support mvcc txn
2017-03-08 20:54:15 -08:00
Xiang Li
96e0f50673
etcdctlv3: snapshot restore works with lease key
2017-01-20 09:37:39 -08:00
sharat
05175480b3
etcdctlv3: updated snapshot restore options
2016-09-21 16:17:32 +05:30
sharat
fef6557f6c
ctlv3: close snapshot file before rename (Windows)
2016-09-16 21:55:04 +05:30
Xiang Li
7e182fa24a
etcdctl: restore should create a snapshot
...
Restore should create a snasphot. So the new db file
can be sent to newly joined member.
2016-09-07 11:21:53 +08:00
Gyu-Ho Lee
9b47ca5972
ctlv3: make flags, commands formats consistent
...
1. Capitalize first letter
2. Remove period at the end
(followed the pattern in linux coreutil man page)
2016-06-29 15:52:06 -07:00
Gyu-Ho Lee
5720fe812e
etcdctl: use CreateDirAll
2016-06-22 15:55:56 -07:00
Anthony Romano
798718c49b
etcdctl: verify snapshot hash on restore
...
Fixes #4097
2016-05-16 12:08:08 -07:00
Gyu-Ho Lee
c538e0f9a9
etcdctl: update LICENSE header
2016-05-12 20:51:39 -07:00
Anthony Romano
dcb3b7aecf
*: scrub legacy ports from code and scripts
2016-05-11 13:46:30 -07:00
Gyu-Ho Lee
3e088b3b40
etcdctl/ctlv3: make 'table' printer configurable
...
Fix https://github.com/coreos/etcd/issues/5296 .
2016-05-10 10:02:02 -07:00
Anthony Romano
b7ac758969
*: rename storage package to mvcc
2016-04-25 15:25:51 -07:00
Gyu-Ho Lee
53abaf86c6
etcdctl/ctlv3: close bolt.DB in snapshot status
2016-04-22 11:43:52 -07:00
Xiang Li
bf9cccfc34
Merge pull request #5118 from ajityagaty/fsync_osx
...
fileutil: Sync on HFS/OSX needs to be handled differently.
2016-04-18 22:22:53 -07:00
Ajit Yagaty
8b6de5f85d
fileutil: Sync on HFS/OSX needs to be handled differently.
...
A call file.Sync on OSX doesn't guarantee actual persistence on
physical drive media as the data can be cached in physical drive's
buffers. Hence calls to file.Sync need to be replaced with
fcntl(F_FULLFSYNC).
2016-04-18 21:49:04 -07:00
Gyu-Ho Lee
a2afb513dd
*: add snapshot e2e test
2016-04-16 13:27:10 -07:00
Gyu-Ho Lee
a78ece4ac2
etcdctl: snapshot status error for non-existent file
2016-04-15 14:15:16 -07:00
Anthony Romano
b90e30b28e
etcdctl: respect -write-out=json for snapshot status
2016-04-13 13:37:32 -07:00
Xiang Li
b5292f6fce
etcdctl: add snapshot status support
2016-04-11 22:55:47 -07:00
Anthony Romano
e838c26f8a
etcdctl: use snapshot RPC in snapshot command
2016-04-11 12:32:53 -07:00
Xiang Li
87d9f06a45
*: combine etcdctl and etcdctlv3
2016-03-28 11:28:05 -07:00