15 Commits

Author SHA1 Message Date
Yicheng Qin
791b2fd503 *: handle panic and fatal more consistently
1. etcd fatals if there is critical error in the system and operator should
do something for it
2. etcd panics if there happens something unexpected, and it should be
reported to us to debug.
2014-11-05 13:53:24 -08:00
Yicheng Qin
5da481213e Merge pull request #1478 from unihorn/190
etcdserver: panic on storage error
2014-11-03 11:07:55 -08:00
Yicheng Qin
433b4138c5 etcdserver: panic on storage error
It is a critical error to etcd, and etcd is not able to recover it now.
2014-11-03 10:46:04 -08:00
Yicheng Qin
aa50af1c69 *: clean log.Print
1. only log things by default that the operator of etcd may need to react to
2. put package name at the head of log lines
2014-10-30 18:15:53 -07:00
Jonathan Boulle
7a4d42166b *: add license header to all source files 2014-10-17 15:41:22 -07:00
Xiang Li
ab61a8aa9a *: init for on disk snap support 2014-09-17 13:56:12 -07:00
Xiang Li
9e77d180c4 snapshot: move pb to snappb; remove clusterId 2014-09-03 16:33:41 -07:00
Xiang Li
f891199ab0 snap: refactoring 2014-09-03 09:20:09 -07:00
Xiang Li
f664c02a40 snap: handle snapshot file error robustly 2014-09-03 09:20:09 -07:00
Xiang Li
aff5b75487 snap: separate Load to Load and snapNames 2014-09-03 09:20:09 -07:00
Xiang Li
71d12d3330 snap: fix typo 2014-09-03 09:20:09 -07:00
Xiang Li
3b2a90e775 snap: separate different sections in the filename by adding dash 2014-09-03 09:20:09 -07:00
Xiang Li
f7580cd3b6 snap: fix missing continue 2014-09-03 09:20:09 -07:00
Xiang Li
12a9b84b2b snap: better naming 2014-09-03 09:20:09 -07:00
Xiang Li
94521738a9 snap: init commit 2014-09-03 09:20:09 -07:00