Skip to content

Commit ce32127

Browse files
committed
fix docs
Signed-off-by: nolouch <[email protected]>
1 parent 3966395 commit ce32127

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

server/api/admin.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,13 @@ func (h *adminHandler) DeleteAllRegionCache(w http.ResponseWriter, r *http.Reque
8383
// @Failure 500 {string} string "PD server failed to proceed the request."
8484
// @Router /admin/reset-ts [post]
8585
// if force-use-larger=true:
86-
// reset ts to max(current ts, input ts).
86+
//
87+
// reset ts to max(current ts, input ts).
88+
//
8789
// else:
88-
// reset ts to input ts if it > current ts and < upper bound, error if not in that range
90+
//
91+
// reset ts to input ts if it > current ts and < upper bound, error if not in that range
92+
//
8993
// during EBS based restore, we call this to make sure ts of pd >= resolved_ts in backup.
9094
func (h *adminHandler) ResetTS(w http.ResponseWriter, r *http.Request) {
9195
handler := h.svr.GetHandler()

0 commit comments

Comments
 (0)