[Bug] ES查询失败问题

Open
#545 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
elasticsearch, java
Domain
backend, databases

Research direction

Start by reproducing the failure through the mentioned ElasticsearchRestTemplate integration with AREX recording enabled, comparing small and large result sets against recording-disabled runs. Inspect the Java agent’s Elasticsearch handling and capture the relevant failure details. Done means the interface remains reliable for large Elasticsearch responses, with regression coverage for the observed behavior.

Written by the indexing model from the issue text.

Description

bug :lady_beetle:
Search before asking
  • I have searched the existing issues before asking.
AREX Test Service

AREX Java Agent (arextest/arex-agent-java)

Current Behavior

本问题是这样的:服务中有一接口,里面调用了es,然后接入arex之后出现现象:调用es时,数据量越大,接口失败的次数越高,数据量小的时候,10次有一次有问题;将arex录制关闭,接口正常。
集成es的方式为:
@Autowired
ElasticsearchRestTemplate elasticsearchRestTemplate;

Maven坐标为:

org.springframework.boot
spring-boot-starter-data-elasticsearch
2.5.1

Expected Behavior

本问题是这样的:服务中有一接口,里面调用了es,然后接入arex之后出现现象:调用es时,数据量越大,接口失败的次数越高,数据量小的时候,10次有一次有问题;将arex录制关闭,接口正常。
集成es的方式为:
@Autowired
ElasticsearchRestTemplate elasticsearchRestTemplate;

Maven坐标为:

org.springframework.boot
spring-boot-starter-data-elasticsearch
2.5.1

Steps To Reproduce

本问题是这样的:服务中有一接口,里面调用了es,然后接入arex之后出现现象:调用es时,数据量越大,接口失败的次数越高,数据量小的时候,10次有一次有问题;将arex录制关闭,接口正常。
集成es的方式为:
@Autowired
ElasticsearchRestTemplate elasticsearchRestTemplate;

Maven坐标为:

org.springframework.boot
spring-boot-starter-data-elasticsearch
2.5.1

Anything else

本问题是这样的:服务中有一接口,里面调用了es,然后接入arex之后出现现象:调用es时,数据量越大,接口失败的次数越高,数据量小的时候,10次有一次有问题;将arex录制关闭,接口正常。
集成es的方式为:
@Autowired
ElasticsearchRestTemplate elasticsearchRestTemplate;

Maven坐标为:

org.springframework.boot
spring-boot-starter-data-elasticsearch
2.5.1

Are you willing to submit a pull request to fix on your own?
  • Yes I am willing to submit a pull request on my own!
Dominant language
Java
Stars
566
Forks
141
Avg merge
36m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from arextest/arex-agent-java

All issues in arextest/arex-agent-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.