AngLi2 commented on issue #70: SCB-1721 support unique index by key, label, 
domain and project
URL: https://github.com/apache/servicecomb-kie/pull/70#issuecomment-574089666
 
 
   MongoDB 的 MongoShake 支持文档级别 id 的并发,根据已有信息确定 unique id 可以解决同一信息的 kv 
并发写入的问题。遗留两个改进点:
   
   1. 当前 labelId 貌似没有根据 label 信息全局 unique,需要 labelId 支持,kv id 才能 unique
   2. 若此 unique id 方案生效,代码中可以将此 id 当成 kv 身份标识(当前需要获取组合信息作为身份标识),很多代码和业务逻辑可以改动优化
   
   PTAL

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to