bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

[fix][server]The resume_compaction rest api handler response body declares a non-existent GET request method #3696

Open zwOvO opened this issue 3 years ago • 4 comments

Descriptions of the changes in this PR: The resume_compaction rest api handler response body declares a non-existent GET request method

Master Issue: #3696

zwOvO avatar Dec 08 '22 06:12 zwOvO

rerun failure checks

StevenLuMT avatar Dec 08 '22 15:12 StevenLuMT

$ curl localhost:8000/api/v1/bookie/gc/resume_compaction Not found method. Should be PUT to resume major or minor compaction ,Or GET to get compaction state.

zwOvO avatar Mar 14 '23 07:03 zwOvO

https://github.com/apache/bookkeeper/blob/1e3efa112b66aa597def7cc247a1ffa9e7732301/bookkeeper-server/src/main/java/org/apache/bookkeeper/server/http/service/ResumeCompactionService.java#L81

The ResumeCompactionService class does not implement a response from the HTTP GET request method

zwOvO avatar Dec 28 '23 02:12 zwOvO

Not found method. Should be PUT to resume major or minor compaction, Or GET /api/v1/bookie/gc_details to get compaction state.

zwOvO avatar Dec 28 '23 02:12 zwOvO