All Versions
8
Latest Version
Avg Release Cycle
186 days
Latest Release
176 days ago

Changelog History

  • v1.3.0 Changes

    April 22, 2021

    ๐Ÿ‘Œ IMPROVEMENTS

    • โž• Added metrics for oldestLogAge and lastRestoreDuration to monitor capacity issues that can cause unrecoverable cluster failure [GH-452][GH-454]
    • ๐Ÿ”Š Made TrailingLogs, SnapshotInterval and SnapshotThreshold reloadable at runtime using a new ReloadConfig method. This allows recovery from cases where there are not enough logs retained for followers to catchup after a restart. [GH-444]
    • Inclusify the repository by switching to main [GH-446]
    • โž• Add option for a buffered ApplyCh if MaxAppendEntries is enabled [GH-445]
    • โž• Add string to LogType for more human readable debugging [GH-442]
    • โœ… Extract fuzzy testing into its own module [GH-459]

    ๐Ÿ› BUG FIXES

    • โšก๏ธ Update LogCache StoreLogs() to capture an error that would previously cause a panic [GH-460]
  • v1.2.0 Changes

    October 05, 2020

    ๐Ÿ‘Œ IMPROVEMENTS

    • โœ‚ Remove StartAsLeader configuration option [GH-364]
    • ๐Ÿ‘ Allow futures to react to Shutdown() to prevent a deadlock with takeSnapshot() [GH-390]
    • Prevent non-voters from becoming eligible for leadership elections [GH-398]
    • โœ‚ Remove an unneeded io.Copy from snapshot writes [GH-399]
    • โš  Log decoded candidate address in duplicate requestVote warning [GH-400]
    • Prevent starting a TCP transport when IP address is nil [GH-403]
    • Reject leadership transfer requests when in candidate state to prevent indefinite blocking while unable to elect a leader [GH-413]
    • โž• Add labels for metric metadata to reduce cardinality of metric names [GH-409]
    • โž• Add peers metric [GH-413]

    ๐Ÿ› BUG FIXES

    • โœ… Make LeaderCh always deliver the latest leadership transition [GH-384]
    • โšก๏ธ Handle updating an existing peer in startStopReplication [GH-419]
  • v1.1.2 Changes

    January 17, 2020

    ๐Ÿ”‹ FEATURES

    • ๐Ÿ‘Œ Improve FSM apply performance through batching. Implementing the BatchingFSM interface enables this new feature [GH-364]
    • โž• Add ability to obtain Raft configuration before Raft starts with GetConfiguration [GH-369]

    ๐Ÿ‘Œ IMPROVEMENTS

    • โœ‚ Remove lint violations and add a make rule for running the linter.
    • Replace logger with hclog [GH-360]
    • ๐Ÿ”ง Read latest configuration independently from main loop [GH-379]

    ๐Ÿ› BUG FIXES

    • Export the leader field in LeaderObservation [GH-357]
    • ๐Ÿ›  Fix snapshot to not attempt to truncate a negative range [GH-358]
    • Check for shutdown in inmemPipeline before sending RPCs [GH-276]
  • v1.1.1 Changes

    July 23, 2019

    ๐Ÿ”‹ FEATURES

    • โž• Add support for extensions to be sent on log entries [GH-353]
    • โž• Add config option to skip snapshot restore on startup [GH-340]
    • โž• Add optional configuration store interface [GH-339]

    ๐Ÿ‘Œ IMPROVEMENTS

    • ๐Ÿ”Š Break out of group commit early when no logs are present [GH-341]

    ๐Ÿ›  BUGFIXES

    • ๐Ÿ›  Fix 64-bit counters on 32-bit platforms [GH-344]
    • โช Don't defer closing source in recover/restore operations since it's in a loop [GH-337]
  • v1.1.0 Changes

    May 23, 2019

    ๐Ÿ”‹ FEATURES

    • โž• Add transfer leadership extension [GH-306]

    ๐Ÿ‘Œ IMPROVEMENTS

    • ๐Ÿšš Move to go mod [GH-323]
    • ๐ŸŒฒ Leveled log [GH-321]
    • โž• Add peer changes to observations [GH-326]

    ๐Ÿ›  BUGFIXES

    • Copy the contents of an InmemSnapshotStore when opening a snapshot [GH-270]
    • ๐Ÿ›  Fix logging panic when converting parameters to strings [GH-332]
  • v1.0.1 Changes

    April 12, 2019

    ๐Ÿ‘Œ IMPROVEMENTS

    • โฑ InMemTransport: Add timeout for sending a message [GH-313]
    • โœ… ensure 'make deps' downloads test dependencies like testify [GH-310]
    • Clarifies function of CommitTimeout [GH-309]
    • โž• Add additional metrics regarding log dispatching and committal [GH-316]
  • v1.0.0 Changes

    October 03, 2017

    ๐Ÿ‘€ v1.0.0 takes the changes that were staged in the library-v2-stage-one branch. This version manages server identities using a UUID, so introduces some breaking API changes. It also versions the Raft protocol, and requires some special steps when interoperating with Raft servers running older versions of the library (see the detailed comment in config.go about version compatibility). You can reference https://github.com/hashicorp/consul/pull/2222 for an idea of what was required to port Consul to these new interfaces.

  • v0.1.0 Changes

    September 29, 2017

    v0.1.0 is the original stable version of the library that was in master and has been maintained with no breaking API changes. This was in use by Consul prior to version 0.7.0.