Skip to content

RGW: fix issue in observability over the persistent topics queue - #52439

Merged
AliMasarweh merged 1 commit into
ceph:mainfrom
AliMasarweh:wip-alimasa-persistant-q-observability
Jul 24, 2023
Merged

AliMasarweh merged 1 commit into
ceph:mainfrom
AliMasarweh:wip-alimasa-persistant-q-observability

Conversation

@AliMasarweh

@AliMasarweh AliMasarweh commented Jul 13, 2023 •

Copy link
Copy Markdown
Member

RGW: fix issue in observability over the persistent topics queue
when releasing entires, we don't decrease them in the urgent data

Very recent bug, introduced in #52087

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

@AliMasarweh
AliMasarweh requested a review from a team as a code owner July 13, 2023 15:06
Comment thread src/cls/queue/cls_queue_ops.h Resolved
Comment thread src/cls/queue/cls_queue_src.cc Resolved
@yuvalif

yuvalif commented Jul 13, 2023

Copy link
Copy Markdown
Contributor

some comments:

  • from the code it looks like the change was done in cls_queue and not cls_2pc_queue - what is the reason? especially given that the rest iof the changes were done in the "urgent data" of cls_2pc_queue. if this is because the cls_2pc_queue is reusing an api from the cls_queue, we can probably create a special api for the 2pc one
  • since we have unit tests at cls level, we can probably add tests there to check the stat values
  • please add a test in teuthology to cover the issue here:
    • upload objects when the http server is down: the queue length should be the number of uoploaded objects
    • bring up the http serve, wait for 20 sec, and check the queue again. now length should be zero (with your fix)

@AliMasarweh
AliMasarweh force-pushed the wip-alimasa-persistant-q-observability branch 4 times, most recently from 881680b to ec6644c Compare July 17, 2023 10:16
@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

Comment thread src/cls/queue/cls_queue_client.cc Resolved
Comment thread src/test/cls_queue/test_cls_queue.cc Resolved
@yuvalif
yuvalif self-requested a review July 17, 2023 15:07
when releasing entires, we don't decrease them in the urgent data

Signed-off-by: Ali Masarwa <[email protected]>
@AliMasarweh
AliMasarweh force-pushed the wip-alimasa-persistant-q-observability branch from ec6644c to 10addc6 Compare July 17, 2023 15:14
@yuvalif

yuvalif commented Jul 17, 2023

Copy link
Copy Markdown
Contributor

please also run the cls tests they don't run in ninja check, and they don't run in the "notificartions" teuthology suite.
to run them, start a vstart cluster and then run:

bin/ceph_test_cls_2pc_queue

from the "build" directory

@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

5 similar comments
@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

@AliMasarweh AliMasarweh reopened this Jul 19, 2023
@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

1 similar comment
@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

2 similar comments
@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

@AliMasarweh

Copy link
Copy Markdown
Member Author

jenkins test make check

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