Skip to content

Fix deletion of redirected URLs - #2050

Open
Atmuri-SatyaPrakash wants to merge 1 commit into
apache:mainfrom
Atmuri-SatyaPrakash:fix-delete-redirected-pages
Open

Fix deletion of redirected URLs#2050
Atmuri-SatyaPrakash wants to merge 1 commit into
apache:mainfrom
Atmuri-SatyaPrakash:fix-delete-redirected-pages

Conversation

@Atmuri-SatyaPrakash

Copy link
Copy Markdown

Description

Fixes deletion of URLs that are redirected.

When a URL receives a REDIRECTION status, the URL was previously not emitted to the deletion stream. This could leave the old URL in the index after it redirects to another URL.

This change emits REDIRECTION statuses to the deletion stream while preserving the existing ERROR behavior.

Testing

Added a regression test to verify that redirected URLs are emitted to the deletion stream.

Tested with:

mvn -pl core -Deditorconfig.skip=true -Dtest=AbstractStatusUpdaterBoltTest test

Result:
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
BUILD SUCCESS

@dpol1

dpol1 commented Aug 11, 2026

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants