You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2021/09/18 02:09:05 UTC

[GitHub] [incubator-pegasus] ZhongChaoqiang edited a comment on issue #815: potential replica may not be closed when dropped app

ZhongChaoqiang edited a comment on issue #815:
URL: https://github.com/apache/incubator-pegasus/issues/815#issuecomment-922160227


   初步分析:
   potential状态的replica在learning结束,但状态未切换到secondary前,如果drop该表,会触发该问题:
   `D2021-09-16 20:21:42.890 (1631794902890873823 3fba) replica.replica10.0404000a00000ca5: replica_learn.cpp:1430:on_learn_completion_notification_reply(): 3.13@xxxxxxxxx:54801: on_learn_completion_notification_reply[0000000c00000002]: learnee = xxxxxxxxx:54801, learn_duration = 2358 ms, response_err = ERR_OK`
   
   删除app后,replicaserver在同步meta的信息的时候,由于on_node_query_reply_scatter2并不会删除potiential状态的replica,所以造成了这些replica一直存在。这有可能会导致slog一直不能执行gc。
   


-- 
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: dev-unsubscribe@pegasus.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org