vulcanizer

GitHub's ops focused Elasticsearch library

MIT License

Stars
658
Committers
22

Bot releases are visible (Hide)

vulcanizer - v0.14.2 Latest Release

Published by github-actions[bot] 8 months ago

Changelog

  • c24a8d6 Bump golang.org/x/net from 0.0.0-20200927032502-5d4f70055728 to 0.17.0
  • 2ff43b6 Merge pull request #105 from github/dependabot/go_modules/golang.org/x/net-0.17.0
  • 3a9d57f Merge pull request #109 from github/hoenn/upgrade-go-versions
  • 8824981 Merge pull request #110 from github/hoenn/upgrade-goproxy-for-cve
  • df49acb Merge pull request #111 from github/hoenn/set-gomod-ver-to-min
  • 07bce4a Set go mod min to 1.17, add workflow to run tests against min
  • 5aa4c1f Update go version in mod and workflows
  • 4c3ac58 Upgrade goproxy to address CVE-2023-37788
vulcanizer - v0.14.1

Published by github-actions[bot] 10 months ago

Changelog

  • 20875d3 Add a GetShardRecovery with query params function to the ES client
  • 26713a0 Merge pull request #106 from github/hoenn/add-get-shard-recovery-with-params
  • 061c97d Merge pull request #107 from github/hoenn/set-goreleaser-version
  • c983f69 Preallocate querystrings
  • af4946c Remove deprecated linters, specify go version in lint workflow
  • a2dff1b Set goreleaser version explicitly
  • a3cbe49 Update action versions
vulcanizer - v0.14.0

Published by github-actions[bot] almost 2 years ago

Changelog

  • 6a3677b Changes based on review comments
  • b0aeb1f ILM history indices are removed during policy removal
  • c5cb835 Implements delete index with query parameters
  • a99df93 Merge pull request #102 from github/uyumazhakan/remove-ilm
  • a7e2e17 Merge pull request #103 from github/uyumazhakan/add-delete-index-with-query-params
  • 9a37509 Removing ILM Policy from Index is added
vulcanizer - v0.13.1

Published by github-actions[bot] almost 2 years ago

Changelog

  • 2b93a65 Merge pull request #101 from github/uyumazhakan/reroute
  • 9ca417d Renaming after review
  • 86507f5 Reroute failed shards command is added
vulcanizer - v0.13.0

Published by github-actions[bot] almost 2 years ago

Changelog

  • d2dba4b Allocate stale primary shard functionality is added
  • 7dd653d Merge pull request #100 from github/uyumazhakan/allocate-stale-primary-shard
vulcanizer - v0.12.1

Published by github-actions[bot] about 2 years ago

Changelog

  • 6aa0f3e Add get index mappings
  • a586335 Add hotthreads cmd to cli
  • 2111da6 Add recovery cmd to cli
  • e471a00 Merge pull request #99 from github/add-more-cmds-to-cli
  • 4058dbb Remove unnecessary recovery cmd, shards has a subcmd for this
  • dca3b7b Standardize optional help text in new commands
  • cdef137 Update README with new usage
vulcanizer - v0.12.0

Published by github-actions[bot] about 2 years ago

Changelog

  • 6aa0f3e Add get index mappings
  • a586335 Add hotthreads cmd to cli
  • 2111da6 Add recovery cmd to cli
  • 4058dbb Remove unnecessary recovery cmd, shards has a subcmd for this
  • dca3b7b Standardize optional help text in new commands
  • cdef137 Update README with new usage
vulcanizer - v0.11.1

Published by github-actions[bot] about 2 years ago

Changelog

  • 102f5bf Merge pull request #97 from github/hugodorea/add-cluster-allocation-explain
  • d0d3dd7 Merge pull request #98 from github/hugodorea/fixes-cluster-allocation-explain-shard-type
  • 1fd18dc changes shard field from string to *int in ClusterAllocationExplainRequest struct
vulcanizer - v0.11.0

Published by github-actions[bot] about 2 years ago

Changelog

  • f7cecaf adds ClusterAllocationExplain method
  • 71e8a46 adds elastic.co documentation link to comment
  • 58a9be9 adds global path for golangci-lint in test script
  • 8b68523 adds prettyOutput argument to ClusterAllocationExplain method
  • 694de6e removes global path to golangci-lint
  • 7bd3420 reverts from URL.String to URL.EscapedPath
  • 97c0921 small punctuation fix
vulcanizer - v0.10.0

Published by github-actions[bot] about 2 years ago

Changelog

  • c2e152c Merge pull request #95 from github/hugodorea/get-hot-threads-per-node
  • 924bd8a Merge pull request #96 from github/hugodorea/addresses-linter
  • de90c9e addresses ioutil deprecation
  • 229a57a adds GetNodesHotThreads method to es client
  • fcac58d changes golangci-lint version to 1.46.2
  • 019302f first batch of linter fixes
  • 013b184 fixes tests
  • 6980eee lints pkg/cli/entrypoint.go
  • 286f72a lints util.go
  • 9075c59 moves errors to variables
  • 532081a updates golang.org/x/sys
vulcanizer - v0.9.0

Published by github-actions[bot] about 2 years ago

Changelog

  • 52b6235 Merge pull request #91 from github/nullren/golangci-lint-url
  • 7a2cf52 Merge pull request #94 from github/hugodorea/adds-get-hot-threads-method
  • fedc037 Update .github/workflows/golangci-lint.yml
  • c860362 add golangci action
  • c5747df adds GetHotThreads to es client
  • 82f76f4 bumps golangci-lint version to 1.46.2
  • 9bcfee9 updated golangci-lint script url and version
vulcanizer - v0.8.0

Published by github-actions[bot] almost 3 years ago

Changelog

75bdbd2 Merge pull request #90 from github/update_go_versions_and_deps
6e78911 Update go versions and some dependencies

vulcanizer - v0.7.0

Published by github-actions[bot] over 3 years ago

Changelog

8949b6f Add CLI command to reload secure settings
8417e90 Add a method to create a snapshot repository
81eb665 Add cli command to remove a snapshot repository
1dbcb4d Add library function to call reload secure settings API
d661eb6 Add method to remove a snapshot repository
3183aeb Add repository register command to cli
ea4ed12 Fix link in README
1dea692 Merge pull request #87 from github/add_register_and_remove_repository_commands
db3bbdb Merge pull request #88 from github/add_reload_secure_settings_command

vulcanizer - v0.6.2

Published by github-actions[bot] over 3 years ago

Changelog

b32915b Add config file and action for goreleaser
c39f9a8 Merge pull request #86 from github/setup_goreleaser

vulcanizer - v0.6.1 Release

Published by migue almost 4 years ago

New Features

  • Function to delete an snapshot #82
  • Function to access segments for a particular index #83
vulcanizer - v0.6.0 Release

Published by nickcanz about 4 years ago

Breaking changes

  • SetClusterSetting now takes and returns a *string instead of a string to support "unsetting" a cluster setting

New Features

Misc

  • Use Go modules instead of dep
  • Update Go dependencies
  • Use GitHub Actions instead of Travis
vulcanizer - v0.5.1 Release

Published by nickcanz about 5 years ago

Bug fix

vulcanizer - v0.5.0 release

Published by nickcanz over 5 years ago

Breaking changes

  • GetIndices() renamed to GetAllIndices()
    • New function GetIndices(string) - returns a subset of indices matching the string

New features

  • Several functions to work with aliases

    • GetAliases(string) - returns a subset of indices matching the string
    • GetAllAliases() - return all the aliases on the cluster
    • ModifyAliases([]AliasAction) - add/update/delete aliases
  • Several functions to work with shards

    • GetShards([]string) - returns shards that exist on the given nodes, empty array returns all shards
    • GetShardOverlap([]string) - provide a list of node names and returns a map containing information to determine if all copies of a shard exist on those nodes
    • GetShardRecovery([]string, bool) - returns information about recovering shards
  • New functions to operate on indices

    • OpenIndex(string) - opens the index with the given index name
    • CloseIndex(string) - closes the index with the given index name
  • New client configuration options

    • user
    • password
    • protocol
    • path
    • skip TLS verification
  • Added Elasticsearch version to the Node struct as Version

Bug fixes

  • Two functions on the Snapshot struct to deal with in progress snapshots "ending" at 1970-01-01
    • func (s *Snapshot) GetDuration()
    • func (s *Snapshot) GetEndTime()

Misc

  • Added Go 1.12 to Travis testing
vulcanizer - v0.4.0 Release

Published by nickcanz over 5 years ago

This release adds some features around managing indices.

Breaking Changes

  • Renamed ClusterSettings struct to Settings - This struct is now used when listing Cluster or Index settings.
  • Renamed func (c *Client) GetSettings() method to func (c *Client) GetClusterSettings() to differentiate between Cluster or Index settings.
  • Renamed func (c *Client) SetSetting method to func (c *Client) SetClusterSetting to differentitate between Cluster or Index settings.
  • Added indexSettings map[string]interface{} to the arguments of func (c *Client) RestoreSnapshotIndices to allow setting specific index settings when restoring an index.

New APIs

  • func (c *Client) DeleteIndex(indexName string) error - Deleting an index
  • func (c *Client) GetPrettyIndexSettings(index string) (string, error) - Get a human readable JSON of the settings of an index
  • func (c *Client) GetIndexSettings(index string) ([]Setting, error) - Get the settings of an index
  • func (c *Client) SetIndexSetting(index, setting, value string) (string, string, error) - Set the settings of an index
  • func (c *Client) GetPrettyIndexMappings(index string) - Get a human readable JSON of the mappings of an index
  • func (c *Client) AnalyzeText(analyzer, text string) ([]Token, error) - Call the Elasticsearch analyze API to preview how given text will be broken down into tokens.
  • func (c *Client) AnalyzeTextWithField(index, field, text string) ([]Token, error) - Call the Elasticsearch analyze API with a specific field to preview how the text will be broken down into tokens for that field.

Changes

  • Added additional fields to the Client struct to support more connection properties
    • Secure - boolean whether to connect using HTTPS or not
    • Auth - struct containing username and password for HTTP basic auth
    • Timeout - set a time.Duration for the API calls to Elasticsearch
    • TLSConfig - set tls.Config options for things like client certificates or ignoring certificate validation
vulcanizer - v0.3.0 Release

Published by nickcanz almost 6 years ago

This release expands what you can do in regards to snapshots and repositories.

Breaking changes

  • GetHealth API return type changed from []ClusterHealth to ClusterHealth - The array was a holdover from using the _cat API and didn't make logical sense as there is only one cluster health.

New APIs

  • New struct Repository
  • New struct IndexHealth, similar to the ClusterHealth struct, but scoped to an index
  • New API func (c *Client) GetRepositories() ([]Repository, error)
    • List the snapshot repositories that are configured on the cluster
  • New API func (c *Client) SnapshotAllIndices(repository string, snapshot string) error
    • Take a snapshot of all indices on the cluster
  • New API func (c *Client) SnapshotIndices(repository string, snapshot string, indices []string) error
    • Take a snapshot of specific indices on the cluster
  • New API func (c *Client) RestoreSnapshotIndices(repository string, snapshot string, indices []string, restoredIndexPrefix string) error
    • Restore specific indices of the named snapshot to the cluster

Changes

  • Jdk added to Node struct - contains the Jdk version of the node
  • ClusterHealth has two new fields
    • UnhealthIndices []IndexHealth - contains indices that are non-green status
    • HealthyIndices []IndexHealth - contains indices that are green status