390 Commits

Author SHA1 Message Date
bigeagle
4e9c146557 Merge pull request #30 from tuna/dev
Dev
2016-06-03 01:39:32 +08:00
bigeagle
16c49b8083 feat(worker): add profiling support
Signed-off-by: bigeagle <justin.w.xd@gmail.com>
2016-06-03 00:40:30 +08:00
bigeagle
f6d53c16d6 fix(worker): do not init cgroup if it's not enabled 2016-05-19 11:42:22 +08:00
bigeagle
fa98e4f029 fix(worker): do not reload if config has errors 2016-05-19 11:42:08 +08:00
bigeagle
3762e7a1a5 Merge pull request #28 from walkerning/fix-cmd-cli
fix(cmd): change deprecated signature to cli.ActionFunc
2016-05-10 04:15:14 -05:00
walkerning
4c5e18cb92 fix(cmd): change deprecated signature to cli.ActionFunc
load configurations from all config files in correct order
2016-05-10 16:41:47 +08:00
bigeagle
28c8145137
feature(worker): limit rsync memory using cgroup 2016-05-08 17:24:41 +08:00
bigeagle
ccc31d9289
refactor(worker): added Type() method to provider 2016-05-08 16:26:58 +08:00
bigeagle
c25e508a00
docs: update README.md
remove TODO, use github issues instead
2016-05-05 13:07:43 +08:00
bigeagle
c311648546
chore(git): Made this repo commitizen frendly 2016-05-05 11:45:51 +08:00
bigeagle
b88a56dc4b Merge pull request #24 from tuna/dev
Dev
2016-05-03 06:55:40 -05:00
bigeagle
5c8d90608c
feature(worker): implemented multi-file configrations. closing #23 2016-05-03 16:52:38 +08:00
bigeagle
4f3a91cda7
feature(systemd): add reload command 2016-05-02 22:32:31 +08:00
bigeagle
ba46e3a63a Merge pull request #22 from tuna/dev
Dev
2016-05-02 09:22:16 -05:00
bigeagle
5b5f020075
style(worker): put exported methods together 2016-05-02 22:19:02 +08:00
bigeagle
76ad3d40d6
feature(worker): when SIGINT/SIGTERM received, stop all the jobs and update their status before quit. Close #19. 2016-05-02 22:16:49 +08:00
bigeagle
2d2df656af Merge pull request #21 from tuna/dev
bug fixes and implement worker's hot reloading config file, closing #18
2016-05-02 06:17:00 -05:00
bigeagle
dbc96b475a
added systemd service files 2016-05-02 19:04:21 +08:00
bigeagle
f768b48d72
feature(manager): let manager log job syncing event 2016-05-02 18:58:22 +08:00
bigeagle
65984053eb
fix(worker): fixed scheduling bugs 2016-05-02 18:56:45 +08:00
bigeagle
51fa12900d
feature(worker): ability to hot reload mirror job configrations, close #18 2016-05-02 17:45:21 +08:00
bigeagle
fecfc8f3b1
fix(worker): log file link should use relative path 2016-05-02 13:38:25 +08:00
bigeagle
583eaf7f6a New start, the master branch now uses the codebase written in golang
Ready
2016-04-30 03:51:21 -05:00
walkerning
2ea22ec1ae
feature(cmd): add default config files for tunasynctl 2016-04-30 16:44:45 +08:00
bigeagle
56459f2ce0
feature(worker): implemented mirror role (master/slave) option 2016-04-30 16:44:39 +08:00
bigeagle
8399417880
feature(worker): fix exec_post_hook_test, manager channel was blocked in the previous version 2016-04-30 16:44:35 +08:00
bigeagle
5ef50090e9
docs: update README 2016-04-30 16:44:27 +08:00
bigeagle
4b52b9b53b
refactor: goodbye, python2.7 2016-04-30 16:44:22 +08:00
bigeagle
bd423eec4e
feature(worker): added exec_on_success and exec_on_failure option and hooks 2016-04-30 16:44:15 +08:00
bigeagle
a644294bd7
style: better logging for tunasynctl 2016-04-30 16:43:55 +08:00
bigeagle
f8fd1ae460
style: better logging 2016-04-30 16:43:47 +08:00
walkerning
6e84da0f6a
feature(cmd): add tunasynctl command line tool 2016-04-30 16:43:40 +08:00
walkerning
bda7e50d3c
feature(cmd): add tunasync command line tool 2016-04-30 16:43:34 +08:00
bigeagle
924fda6dd8
feature(worker): use cgroup track job process, so that they can be all-killed 2016-04-30 16:43:30 +08:00
bigeagle
41e1f263a5
refactor(worker): use atomic state to simplify job control 2016-04-30 16:43:24 +08:00
bigeagle
2268eb3b0f
fix(tunasync): connection leakage caused by http keep-alive 2016-04-30 16:43:17 +08:00
bigeagle
d1981379a4
fix(manager): timezone issue of status test 2016-04-30 16:43:10 +08:00
bigeagle
42c645a736
chore: ignore building tests 2016-04-30 16:43:06 +08:00
bigeagle
ad2b65fcaa
fix: server test 2016-04-30 16:43:00 +08:00
bigeagle
292a24ba20
fix(worker): fixed job status and control logic 2016-04-30 16:42:51 +08:00
bigeagle
5f78722936
tests: update manager tests 2016-04-30 16:42:43 +08:00
bigeagle
3874d41afc
refactor(manager): let manager export LoadConfig 2016-04-30 16:42:34 +08:00
bigeagle
72d9f87711
tests: test files 2016-04-30 16:42:31 +08:00
bigeagle
9fbb8ab155
refactor(tunasync):
1. refactored manager and worker to support TLS transport
2. if mirror_dir is specified from a mirror config, don't add the mirror name
2016-04-30 16:42:15 +08:00
bigeagle
9865f28259
refactor: manager server 2016-04-30 16:42:05 +08:00
bigeagle
84b7bdd713
tests: self-signed TLS certificates 2016-04-30 16:41:58 +08:00
bigeagle
f8151e689f
refactor(worker): export worker's LoadConfig 2016-04-30 16:41:51 +08:00
bigeagle
0dcd89da31
refactor(manager): refactored structure names in manager 2016-04-30 16:41:44 +08:00
bigeagle
ce3471e30d
feature(worker): implemented Worker object, worker side code is almost done 2016-04-30 16:41:39 +08:00
walkerning
daa0b3c204
refactor(manager): command pulling to command pushing and tests 2016-04-30 16:41:33 +08:00