es-elasticity 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/elasticity/strategies/alias_index.rb +2 -1
- data/lib/elasticity/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8cafd51bc0a687f29b9aabf1f80da805aa9440a5605d9d5f7c6b9936b3a54cef
|
|
4
|
+
data.tar.gz: 41a18220b173363172a6a295f6c44e9bea5fa2c9b27c26de7e5d404118435441
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff4fe4d43126a7f7683b04be7dd4f052d0c58c6e99646b6df18b19c5e91fe12b30e3a01d6ffef92481d8ebe4a97598bf4f1343f17f5f6d6ff9d74fca4a67d800
|
|
7
|
+
data.tar.gz: eb2acd3d2c3dd7770fe7487eae4c652f27701439d043fd4ff67efe82f22f1cdb06122078ba61e60798f27e72fb6aa1a6924d5bd912068045a790b7a3b8f582b6
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [2.0.1] - 2026-10-01
|
|
8
|
+
### Fixed
|
|
9
|
+
- Roll back remap aliases when interrupted by a signal
|
|
10
|
+
|
|
7
11
|
## [2.0.0] - 2026-09-03
|
|
8
12
|
### Changed
|
|
9
13
|
- Require Ruby 3.2 or newer
|
data/Gemfile.lock
CHANGED
|
@@ -117,7 +117,8 @@ module Elasticity
|
|
|
117
117
|
raise e
|
|
118
118
|
end
|
|
119
119
|
end
|
|
120
|
-
rescue
|
|
120
|
+
# Bare rescue skips Interrupt (Ctrl-C) and SIGTERM, leaving the aliases split across both indexes.
|
|
121
|
+
rescue StandardError, SignalException
|
|
121
122
|
@client.index_update_aliases(body: {
|
|
122
123
|
actions: [
|
|
123
124
|
{ add: { index: original_index, alias: @main_alias } },
|
data/lib/elasticity/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: es-elasticity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rodrigo Kochenburger
|
|
@@ -309,7 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
309
309
|
- !ruby/object:Gem::Version
|
|
310
310
|
version: '0'
|
|
311
311
|
requirements: []
|
|
312
|
-
rubygems_version: 3.6.
|
|
312
|
+
rubygems_version: 3.6.7
|
|
313
313
|
specification_version: 4
|
|
314
314
|
summary: ActiveModel-based library for working with Elasticsearch
|
|
315
315
|
test_files: []
|