This project is mirrored from https://gitee.com/mirrors/nomad.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 04 Oct, 2018 2 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-
- 18 Sep, 2018 4 commits
-
-
Michael Schurter authored
Leaving fingerprinters in case that interface changes with plugins.
-
Michael Schurter authored
* Stopping an alloc is implemented via Updates but update hooks are *not* run. * Destroying an alloc is a best effort cleanup. * AllocRunner destroy hooks implemented. * Disk migration and blocking on a previous allocation exiting moved to its own package to avoid cycles. Now only depends on alloc broadcaster instead of also using a waitch. * AllocBroadcaster now only drops stale allocations and always keeps the latest version. * Made AllocDir safe for concurrent use Lots of internal contexts that are currently unused. Unsure if they should be used or removed.
-
Michael Schurter authored
Saves a tiny bit of cpu and some IO. Sadly doesn't prevent all IO on duplicate writes as the transactions are still created and committed. $ go test -bench=. -benchmem goos: linux goarch: amd64 pkg: github.com/hashicorp/nomad/helper/boltdd BenchmarkWriteDeduplication_On-4 500 4059591 ns/op 23736 B/op 56 allocs/op BenchmarkWriteDeduplication_Off-4 300 4115319 ns/op 25942 B/op 55 allocs/op
-
Michael Schurter authored
-
- 13 Jun, 2018 1 commit
-
-
Alex Dadgar authored
-
- 12 Jun, 2018 2 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-
- 07 May, 2018 2 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-
- 04 Apr, 2018 3 commits
-
-
Preetha Appan authored
-
Preetha Appan authored
-
Preetha Appan authored
-
- 03 Apr, 2018 1 commit
-
-
Preetha Appan authored
-
- 29 Mar, 2018 1 commit
-
-
Alex Dadgar authored
-
- 11 Mar, 2018 1 commit
-
-
Josh Soref authored
-
- 30 Nov, 2017 1 commit
-
-
Michael Schurter authored
Test that snapshot errors don't return a valid tar currently fails.
-
- 15 Nov, 2017 1 commit
-
-
Michael Schurter authored
Fixes the panic mentioned in https://github.com/hashicorp/nomad/issues/3420#issuecomment-341666932 While a leader task dying serially stops all follower tasks, the synchronizing of state is asynchrnous. Nomad can shutdown before all follower tasks have updated their state to dead thus saving the state necessary to hit this panic: *have a non-terminal alloc with a dead leader.* The actual fix is a simple nil check to not assume non-terminal allocs leader's have a TaskRunner.
-
- 02 Nov, 2017 6 commits
-
-
Alex Dadgar authored
-
Diptanu Choudhury authored
-
Diptanu Choudhury authored
-
Diptanu Choudhury authored
-
Diptanu Choudhury authored
-
Diptanu Choudhury authored
-
- 01 Nov, 2017 2 commits
-
-
Michael Schurter authored
GC much more aggressively by triggering GCs when allocations become terminal as well as after new allocations are added.
-
Michael Schurter authored
The Client.allocs map now contains all AllocRunners again, not just un-GC'd AllocRunners. Client.allocs is only pruned when the server GCs allocs. Also stops logging "marked for GC" twice.
-
- 26 Sep, 2017 1 commit
-
-
Alex Dadgar authored
-
- 14 Sep, 2017 1 commit
-
-
Michael Schurter authored
-
- 16 Aug, 2017 1 commit
-
-
Alex Dadgar authored
This PR adds a version package and consolidates version strings into a Version struct.
-
- 14 Aug, 2017 1 commit
-
-
Michael Schurter authored
-
- 11 Aug, 2017 5 commits
-
-
Michael Schurter authored
-
Michael Schurter authored
Fixup some TODOs and formatting left from new prevAllocWatcher code.
-
Michael Schurter authored
interface has 3 implementations: 1. local for blocking and moving data locally 2. remote for blocking and moving data from another node 3. noop for allocs that don't need to block
-
Michael Schurter authored
-
Michael Schurter authored
-
- 10 Aug, 2017 2 commits
-
-
Alex Dadgar authored
This PR unmounts directories from tasks when the alloc is terminal rather than when it is garbage collected. /cc @angrycub
-
Alex Dadgar authored
This PR does the following: * Adds a mechanism to emit events in the TaskRunner * Vendors a new version of Consul-Template that allows extraction of missing dependencies * Adds logic to our consul_template.go to determine missing events and emit them in a batched fashion. * Refactors the consul_template code to split the run method and take in a config struct rather than many parameters. Fixes https://github.com/hashicorp/nomad/issues/2578
-
- 08 Aug, 2017 1 commit
-
-
Alex Dadgar authored
-
- 24 Jul, 2017 1 commit
-
-
Michael Schurter authored
-