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.
  1. 04 Oct, 2018 2 commits
  2. 18 Sep, 2018 4 commits
    • Michael Schurter's avatar
      client: hclog-ify most of the client · 51dd8f9b
      Michael Schurter authored
      Leaving fingerprinters in case that interface changes with plugins.
      51dd8f9b
    • Michael Schurter's avatar
      implement stopping, destroying, and disk migration · 37bfa2d1
      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.
      37bfa2d1
    • Michael Schurter's avatar
      wrap boltdb in a write deduplicator · ff65209e
      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
      ff65209e
    • Michael Schurter's avatar
      1398ce12
  3. 13 Jun, 2018 1 commit
  4. 12 Jun, 2018 2 commits
  5. 07 May, 2018 2 commits
  6. 04 Apr, 2018 3 commits
  7. 03 Apr, 2018 1 commit
  8. 29 Mar, 2018 1 commit
  9. 11 Mar, 2018 1 commit
  10. 30 Nov, 2017 1 commit
  11. 15 Nov, 2017 1 commit
  12. 02 Nov, 2017 6 commits
  13. 01 Nov, 2017 2 commits
    • Michael Schurter's avatar
      Trigger GCs after alloc changes · fb3a780b
      Michael Schurter authored
      GC much more aggressively by triggering GCs when allocations become
      terminal as well as after new allocations are added.
      fb3a780b
    • Michael Schurter's avatar
      Fix GC'd alloc tracking · 9c1e595e
      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.
      9c1e595e
  14. 26 Sep, 2017 1 commit
  15. 14 Sep, 2017 1 commit
  16. 16 Aug, 2017 1 commit
    • Alex Dadgar's avatar
      Add version package · c26ecb70
      Alex Dadgar authored
      This PR adds a version package and consolidates version strings into a
      Version struct.
      c26ecb70
  17. 14 Aug, 2017 1 commit
  18. 11 Aug, 2017 5 commits
  19. 10 Aug, 2017 2 commits
  20. 08 Aug, 2017 1 commit
  21. 24 Jul, 2017 1 commit