forked from kakao/varlog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client): add PeekLogStream to the client
This patch adds a new API called PeekLogStream to the client. The PeekLogStream returns sequence numbers at the first and last log entries. Users using LogStreamMetadata or LogStreamReplicaMetadata to fetch the sequence numbers should use PeekLogStream. PeekLogStream has the benefits over the ogStreamMetadata or LogStreamReplicaMetadata. - It does not send users useless and complex information about log stream replicas. - It prevents users from getting too detailed information about log stream replicas. - It takes accounts for the status of log stream replicas; thus, it returns more accurate first and last log sequence numbers of the log stream. Resolves kakao#239
- Loading branch information
Showing
5 changed files
with
179 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters