Git Product home page Git Product logo

Comments (6)

nocvalight avatar nocvalight commented on August 16, 2024
  1. sofa registry作为注册中心,目前是提供的最终一致性,也就是说并非按全局时钟的顺序 保证获取数据的线性一致性;
  2. 具体到上面的case来说,pub register注册完成后,实际在registry中是一个异步的动作;sub发起时有可能pub的数据还没有真正保存到data上,所以这个时候会有一个推送空的动作;但是最后客户端收到的数据是准确的。

from sofa-registry.

chuntaojun avatar chuntaojun commented on August 16, 2024
  1. sofa registry作为注册中心,目前是提供的最终一致性,也就是说并非按全局时钟的顺序 保证获取数据的线性一致性;
  2. 具体到上面的case来说,pub register注册完成后,实际在registry中是一个异步的动作;sub发起时有可能pub的数据还没有真正保存到data上,所以这个时候会有一个推送空的动作;但是最后客户端收到的数据是准确的。

最终一致性没有问题,但是不应该推送一个空的数据过来吧,最终是会有问题的,因为会出现推空的数据出现

Screenshot 2023-05-31 at 15 58 11

from sofa-registry.

nocvalight avatar nocvalight commented on August 16, 2024

可以提供一下完整的 config.client.log 或者 registry.log的client日志看看

from sofa-registry.

chuntaojun avatar chuntaojun commented on August 16, 2024

我貌似没太找到这个文件,我在 {user.home} 下没有找到 sofa-client 相关的日志

from sofa-registry.

nocvalight avatar nocvalight commented on August 16, 2024

image

client的日志在 {user.home} /logs/registry/registry-client.log,没有复现出来你说的现象。

from sofa-registry.

NickNYU avatar NickNYU commented on August 16, 2024

我貌似没太找到这个文件,我在 {user.home} 下没有找到 sofa-client 相关的日志

IDE的话,应该是有一个类似于{user.home}的路径在你的项目文件下面

from sofa-registry.

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.