Skip to content

rgw: fix PutObject err affect subsequent request - #49474

Closed
BryceCao wants to merge 1 commit into
ceph:mainfrom
BryceCao:wip-fix-PutObject-err-affect-subsequent-request
Closed

BryceCao wants to merge 1 commit into
ceph:mainfrom
BryceCao:wip-fix-PutObject-err-affect-subsequent-request

Conversation

@BryceCao

@BryceCao BryceCao commented Dec 16, 2022 •

Copy link
Copy Markdown
Contributor

Fixes: https://tracker.ceph.com/issues/58286
Signed-off-by: caolei [email protected]

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@github-actions github-actions Bot added the rgw label Dec 16, 2022
}

if (!parser.keep_alive()) {
if (!parser.keep_alive() || http_ret != 200) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think we want to close client connections on any non-200 response. the while (!parser.is_done()) loop just below is meant to recover from this - can you tell why that fails here?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, the tracker issue said this was due to interaction with "Expect: 100-continue". i'm testing a fix for that in #49642

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@cbodley

cbodley commented Jan 23, 2023

Copy link
Copy Markdown
Contributor

fixed in #49642

@cbodley cbodley closed this Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants