Skip to content

ReactiveIndicesTemplate: Refresh not called on bound indices #2441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ls-urs-keller opened this issue Feb 2, 2023 · 2 comments · Fixed by #2444
Closed

ReactiveIndicesTemplate: Refresh not called on bound indices #2441

ls-urs-keller opened this issue Feb 2, 2023 · 2 comments · Fixed by #2444
Labels
type: bug A general bug

Comments

@ls-urs-keller
Copy link
Contributor

Shouldn't this be

	@Override
	public Mono<Void> refresh() {
		RefreshRequest refreshRequest = requestConverter.indicesRefreshRequest(getIndexCoordinates());
		return Mono.from(execute(reactiveOpenSearchIndicesClient -> reactiveOpenSearchIndicesClient.refresh(
				refreshRequest))).then();
	}

I can PR just would like to have a confirmation that this is a bug.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 2, 2023
@sothawo sothawo added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 3, 2023
@sothawo
Copy link
Collaborator

sothawo commented Feb 3, 2023

Thank you for that finding, indeed that's a bug. Please provide a PR for the main branch, I'll backport it then to the 5.0.x as well.

@ls-urs-keller
Copy link
Contributor Author

ls-urs-keller commented Feb 3, 2023

@sothawo Thank for your quick reply, pull request added.

sothawo pushed a commit that referenced this issue Feb 3, 2023
@sothawo sothawo added this to the 5.1 M1 (2023.0.0) milestone Feb 3, 2023
sothawo pushed a commit that referenced this issue Feb 3, 2023
Original Pull Request #2444
Closes #2441

(cherry picked from commit 0971acf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
3 participants