bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

Adds the bookie cookie query service for http api

Open SongOf opened this issue 3 weeks ago • 0 comments

Descriptions of the changes in this PR:

Motivation

When bookie A is decommissioned, the user cannot know whether the decommissioning process is complete. Considering that bookie cookies are deleted after decommissioning, the user can determine whether decommissioning is complete by checking if bookie A's cookies still exist.

The shell admin provides a GetCookieCommand to query cookies for a specified bookie_id, and the HTTP admin also needs to provide an API to query cookies for a specified bookie_id.

Changes Adds an API to get the cookie of bookie at /api/v1/bookie/cookie.

SongOf avatar Dec 05 '25 07:12 SongOf