Code Monkey home page Code Monkey logo

Comments (5)

WenyXu avatar WenyXu commented on June 9, 2024 1

Hi @WenyXu , I have a draft on this issue and i have a few questions.

  1. seems like MetaPeerClient only offer read-only methods should we leave all the write method unimplemented?
  2. 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?
  3. 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 the MetaPeerClient. 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 the need doc update label.

Feel free to let me know if you have any other questions😉

from greptimedb.

lyang24 avatar lyang24 commented on June 9, 2024

Hi I am interested in this issue may i work on this one?

from greptimedb.

WenyXu avatar WenyXu commented on June 9, 2024

@lyang24 Thanks, fave fun!🤩

from greptimedb.

lyang24 avatar lyang24 commented on June 9, 2024

Hi @WenyXu , I have a draft on this issue and i have a few questions.

  1. seems like MetaPeerClient only offer read-only methods should we leave all the write method unimplemented?
  2. 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?
  3. 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.

lyang24 avatar lyang24 commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.