You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/09/15 02:50:51 UTC

[GitHub] [servicecomb-service-center] liubao68 opened a new issue #1153: 服务信息注册需要保证原子性

liubao68 opened a new issue #1153:
URL: https://github.com/apache/servicecomb-service-center/issues/1153


   **Describe the bug**
   服务A: 注册服务、注册契约
   服务B: 查询服务A的服务信息和契约信息
   
   如果服务B查询A的服务信息,发生在服务A注册契约的过程中, 可能导致服务B获取到的服务信息不完整(契约丢失)。 
   
   **To Reproduce**
   
   **Expected behavior**
   服务A未完成契约注册, 那么服务A的信息对外不可见,不应该查询返回服务信息。 
   
   **Platform And Runtime (please complete the following information):**
   
   Platform
    - OS: [e.g. iOS]
    - Browser [e.g. chrome, safari]
    - Version [e.g. 22]
   
   Runtime
    - Version [e.g. Go 1.11]
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org