Skip to content

Instantly share code, notes, and snippets.

View andrross's full-sized avatar

Andrew Ross andrross

View GitHub Profile
@andrross
andrross / gist:6ba122540fc6cc6ed551ebae5189e3b2
Created February 7, 2026 01:22
OpenSearch 3.4 Generated Release Notes
## Version 3.4.0 Release Notes (Generated from Git Commits)
Compatible with OpenSearch and OpenSearch Dashboards version 3.4.0
### Added
- Reapply "Switch percentiles implementation to MergingDigest ([#18124](https://github.com/opensearch-project/OpenSearch/pull/18124))
- Add build-tooling to run in the FIPS environment ([#18921](https://github.com/opensearch-project/OpenSearch/pull/18921))
- Add Metrics For The Merged Segment Warmer Flow ([#18929](https://github.com/opensearch-project/OpenSearch/pull/18929))
- Introduce gRPC Interceptor Chain for transport-grpc ([#19005](https://github.com/opensearch-project/OpenSearch/pull/19005))
- Add support for a ForkJoinPool type ([#19008](https://github.com/opensearch-project/OpenSearch/pull/19008))
require 'json'
require 'net/http'
require 'optparse'
require 'set'
require 'uri'
options = {}
OptionParser.new do |opt|
opt.on('-s', '--start BUILD_NUMBER', 'Require start') { |o| options[:start] = o }
opt.on('-e', '--end BUILD_NUMBER', 'Require end') { |o| options[:end] = o }
@andrross
andrross / run-until-failure
Created February 17, 2023 18:10
Bash script to repeat a command until a non-zero exit code
#!/bin/bash
i=1
while [ true ]
do
"$@"
if [ "$?" = 0 ]; then
echo "SUCCESS ($i)"
else
echo "FAILURE ($i)"
require 'json'
require 'net/http'
require 'optparse'
require 'set'
require 'uri'
options = {}
OptionParser.new do |opt|
opt.on('-s', '--start BUILD_NUMBER', 'Require start') { |o| options[:start] = o }
opt.on('-e', '--end BUILD_NUMBER', 'Require end') { |o| options[:end] = o }
#!/bin/bash
read -r -d '' QUERY<<'EOF'
{
"profile": true,
"size": 0,
"query": {
"range": {
"dropoff_datetime": {
"from": "2015-01-01 00:00:00",