Comments (5)
Hi @WenyXu , I have a draft on this issue and i have a few questions.
- seems like
MetaPeerClient
only offer read-only methods should we leave all the write method unimplemented?- The original get method on
MetaPeerClient
is very similar to the default get method on KvBackend trait except the debug assert on length of the kv returned. should we just use the default impl provided by the trait?- The draft got tagged 'need doc update' can you please help me understand what needs to be updated? (is there a change log or something)?
Thank you in advance and no rush on these questions :)
Hi, @lyang24. Thank you for your concern.
- For question 1, It seems the
ClusterClient
implementation only allows us to implement immutable methods; maybe we should throw an error if users try to invoke any mutable methods of theMetaPeerClient
. cc @fengjiachun @fengys1996 - And about question 2, Yes, let's use the default implement and remove the debug asserts.
- For the last question, I added a mark in your PR's checkbox(the
This PR does not require documentation updates.
); the bot will remove theneed doc update
label.
Feel free to let me know if you have any other questions😉
from greptimedb.
Hi I am interested in this issue may i work on this one?
from greptimedb.
@lyang24 Thanks, fave fun!🤩
from greptimedb.
Hi @WenyXu , I have a draft on this issue and i have a few questions.
- seems like
MetaPeerClient
only offer read-only methods should we leave all the write method unimplemented? - The original get method on
MetaPeerClient
is very similar to the default get method on KvBackend trait except the debug assert on length of the kv returned. should we just use the default impl provided by the trait? - The draft got tagged 'need doc update' can you please help me understand what needs to be updated? (is there a change log or something)?
Thank you in advance and no rush on these questions :)
from greptimedb.
Thank you, I have addressed the issues and made pr ready for review. Seem like the method of MetaPeerClient is not easy to test since it involves grpc calls, let me know is there any test i can add here.
from greptimedb.
Related Issues (20)
- Upgrade `regex-automata` to latest version HOT 2
- Add more tests for `MetaPeerClientRef`
- Ensure the Kafka record offset is must greater than 0
- Release blocker of v0.5.1
- [remote_wal] Split a log store entry if it cannot fit into a Kafka record
- [remote_wal] Rename Topic to stop abuse of alias on Topic HOT 2
- Consider refactoring LruCacheLayer with `list_with_metakey` and `concurrent_stat_in_list`
- Upgrade rustpython HOT 11
- Export query tracing to `OPTIMIZER_TRACE` table
- [bug] Possbile memory leak when ingesting nginx access logs generated by vector at 100 QPS whether the data is stored as metrics or logs HOT 19
- docs: how to add metrics
- Merge the small read io HOT 4
- The `region_distribution` should returns `RegionDistribution` instead of `Result<RegionDistribution>` HOT 2
- Observable write stalls on high load
- High swapped memory used by `CoreMedia Capture Data` under macOS HOT 2
- Move logical table related methods to `table_metadata_manager`
- mito: Potential issue to recover truncated data HOT 2
- [remote_wal] Add transaction support for producing records HOT 1
- Move kafka related code to the feature gate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from greptimedb.