elastic / elastic/elastic-transport-php

ElasticsearchResurrect fails to resurrect ElasticCloud cluster

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
21
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Originally posted in https://github.com/elastic/elasticsearch-php/issues/1461

### Summary of problem or feature request

The `ping` method of ElasticsearchResurrect sends unauthenticated `HEAD` requests. This fails if the cluster is deployed on ElasticCloud, resulting in the cluster being permanently unreachable within the same process.

### System details

- Operating System: Ubuntu 22.04.1 LTS
- PHP Version: 8.14.0
- ES-PHP client version: 8.14.0
- Elasticsearch version: 8.14.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the ElasticsearchResurrect ping method and the unauthenticated HEAD request it sends. Reproduce the failure against an ElasticCloud cluster using the listed client and Elasticsearch versions, then verify that resurrection succeeds without leaving the cluster unreachable within the process.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, php
Domain
backend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.