Commit Graph

323 Commits

Author SHA1 Message Date
Paul W. Homer 4fdcf51467 Refactored the iterator to follow Go constructor conventions. 2017-03-30 11:51:11 -04:00
Paul W. Homer 34e2d6638d Fixed a typo in LevelDB property names. 2017-03-29 09:09:01 -04:00
Anton Kaliaev dec518eb06
update comment [ci skip] [circleci skip] 2017-03-29 16:03:05 +04:00
Ethan Buchman 6af2364fa9 Merge pull request #10 from tendermint/recreate-quit-channel-on-reset
Recreate Quit channel on reset
2017-03-28 12:26:02 -04:00
Anton Kaliaev 7a12594edb
[service] recreate Quit channel on reset
don't think that user should do this thing him/herself
2017-03-28 13:56:48 +04:00
Anton Kaliaev c46ffe39a8
[service] check for error returned by impl
otherwise, we mark it as started when it is not in fact
2017-03-27 20:46:46 +04:00
Anton Kaliaev 75a539ae3d Merge pull request #3 from silasdavis/master
From the department of pedantry
2017-03-27 15:23:47 +04:00
Paul W. Homer 097e0abca9 Added in locking 2017-03-23 14:46:40 -04:00
Paul W. Homer 6064c80250 Modified all db types to conform to the interface changes. 2017-03-23 11:37:46 -04:00
Paul W. Homer d6205eb4ca Changed the iterations 2017-03-17 14:34:11 -04:00
Paul W. Homer bb8104b624 Exposed the LevelDB iterator in the DB struct. 2017-03-17 13:27:20 -04:00
Ethan Buchman dcb015dff6 repeat_timer: drain channel in Stop; done -> wg 2017-03-05 03:33:35 -05:00
Ethan Buchman eac3f2bc14 Merge remote-tracking branch 'origin/master' into develop
Conflicts:
	LICENSE.md
2017-03-05 00:16:10 -05:00
Jae Kwon 286cbbd99d Update LICENSE.md 2017-03-04 17:12:18 -08:00
Jae Kwon ab0cca734a Update LICENSE.md 2017-03-04 17:11:59 -08:00
Ethan Buchman 6141dc6eed Merge pull request #7 from tendermint/develop
Develop
2017-03-03 00:06:45 -05:00
Ethan Buchman 959efd3127 Merge branch 'master' into develop 2017-03-03 00:05:51 -05:00
Ethan Buchman 95c14fbd65 Merge branch 'master' into develop 2017-03-03 00:03:39 -05:00
Ethan Buchman f8ffbfb2be Merge pull request #9 from tendermint/develop
Add test
2017-03-03 00:02:46 -05:00
Ethan Frey a816ff0bab Add test 2017-02-27 14:52:48 +01:00
Jae Kwon 48b17de829 Merge pull request #2 from alessio/master
Add LICENSE file
2017-01-28 08:01:48 -08:00
Jae Kwon 1c977f78fd Update LICENSE 2017-01-28 08:01:29 -08:00
Alessio Treglia c3b8006166 Add LICENSE file 2017-01-28 12:42:01 +00:00
Jae Kwon 339e135776 Add IsDirEmpty 2017-01-27 20:37:04 -08:00
Ethan Buchman 72f6dacd22 fix tests 2017-01-12 22:32:20 -05:00
Ethan Buchman b27edfd189 Merge pull request #1 from tendermint/develop
Include pwd dir to StartProcess
2017-01-12 21:39:27 -05:00
Ethan Buchman fddee66d90 Merge pull request #8 from tendermint/develop
use mtx in OnStop
2017-01-12 21:38:04 -05:00
Ethan Buchman 996c483f23 Merge pull request #4 from tendermint/develop
C LevelDB
2017-01-12 21:37:57 -05:00
Ethan Buchman e289af53b6 Merge pull request #6 from tendermint/develop
Develop
2017-01-12 21:37:18 -05:00
Ethan Buchman 2337086736 use mtx in OnStop 2017-01-12 14:32:48 -05:00
Ethan Buchman 2645626c33 Merge pull request #3 from tendermint/swap_go_c
go and c strings were swapped
2016-12-22 21:07:31 -05:00
Ethan Buchman 33e35c4732 go and c strings were swapped 2016-12-22 15:44:51 -05:00
Ethan Buchman a552e49b50 Reverts commit f40b1b to a6a67e 2016-12-12 23:08:31 -05:00
Jae Kwon 7f507d69fa Include pwd dir to StartProcess 2016-12-06 02:08:05 -08:00
Jae Kwon 0416e0aa9c Close opened files 2016-12-06 01:46:23 -08:00
Jae Kwon 70e694ee76 Fix ThrottleTimer null-pointer error / race condition 2016-12-06 01:39:04 -08:00
Jae Kwon 5e2a1d3e30 Fix tests; Support 'leveldb' for legacy 2016-11-30 20:22:35 -08:00
Jae Kwon 5ab5538d6c Move cleveldb to own file w/ build tag condition 'gcc' 2016-11-30 20:15:29 -08:00
Jae Kwon 226eb6554f Support for Run() convenience function 2016-11-29 16:55:32 -08:00
Jae Kwon 9f81134388 Add support for levigo bindings 2016-11-29 16:06:36 -08:00
Jae Kwon 63186e34b3 Fix race condition 2016-11-21 20:26:47 -08:00
Jae Kwon 2a306419c8 Remove spurious fmt 2016-11-21 20:19:01 -08:00
Jae Kwon f40b1b65f8 Add Tempdir 2016-11-21 20:03:59 -08:00
Jae Kwon 890e240730 Remove AutoFile tests 2016-11-21 20:03:59 -08:00
Jae Kwon 25dc9ae345 QuitService->BaseService 2016-11-21 20:03:59 -08:00
Jae Kwon a6a67ea9b2 Remove AutoFile; Use go-autofile instead 2016-11-21 20:03:59 -08:00
Jae Kwon 6b4160f2a5 Add Tempdir 2016-11-21 20:01:11 -08:00
Jae Kwon dd12bd8f1b Fix checkTotalSizeLimit bug; remove more than 1 file at a time 2016-11-21 19:57:17 -08:00
Jae Kwon a528af55d3 Group is a BaseService; TotalSizeLimit enforced; tests fixed 2016-11-21 19:09:14 -08:00
Jae Kwon d1848762cf Fix issue where buffered writes may split a line to two files 2016-11-20 17:19:15 -08:00