Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(client): log stream appender manager #475

Merged
merged 1 commit into from
Jun 19, 2023
Merged

feat(client): log stream appender manager #475

merged 1 commit into from
Jun 19, 2023

Conversation

ijsong
Copy link
Member

@ijsong ijsong commented Jun 12, 2023

What this PR does

This PR adds a manager for log stream appenders, pkg/varlog/x/mlsa.(Manager). It provides two methods:

  • pkg/varlog/x/mlsa.(Manager).Get: Get a LogStreamAppender specified by the given topic and log stream.
  • pkg/varlog/x/mlsa.(Manager).Any: Get a writable LogStreamAppender belonging to the given topic.

@codecov-commenter
Copy link

codecov-commenter commented Jun 12, 2023

Codecov Report

Patch coverage: 19.35% and project coverage change: +0.05 🎉

Comparison is base (6db401a) 62.30% compared to head (64eae0b) 62.35%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #475      +/-   ##
==========================================
+ Coverage   62.30%   62.35%   +0.05%     
==========================================
  Files         133      133              
  Lines       18415    18446      +31     
==========================================
+ Hits        11473    11502      +29     
- Misses       6363     6371       +8     
+ Partials      579      573       -6     
Impacted Files Coverage Δ
pkg/varlog/log.go 0.00% <0.00%> (ø)
pkg/varlogtest/log.go 71.64% <25.00%> (-3.90%) ⬇️

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ijsong ijsong self-assigned this Jun 12, 2023
@ijsong ijsong force-pushed the lsa_call_timeout branch from 76e1c8b to 6f916d4 Compare June 13, 2023 02:25
Base automatically changed from lsa_call_timeout to main June 16, 2023 11:35
This PR adds a manager for log stream appenders, `pkg/varlog/x/mlsa.(Manager)`. It provides two
methods:

- `pkg/varlog/x/mlsa.(Manager).Get`: Get a LogStreamAppender specified by the given topic and log
  stream.
- `pkg/varlog/x/mlsa.(Manager).Any`: Get a writable LogStreamAppender belonging to the given topic.
@ijsong
Copy link
Member Author

ijsong commented Jun 19, 2023

@ijsong started a stack merge that includes this pull request via Graphite.

@ijsong ijsong merged commit ac6c7c6 into main Jun 19, 2023
@ijsong
Copy link
Member Author

ijsong commented Jun 19, 2023

@ijsong merged this pull request with Graphite.

@ijsong ijsong deleted the lsa_manager branch June 19, 2023 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants