Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

dup: add change_duplication_status on meta_server #248

Merged
merged 5 commits into from
May 6, 2019

Conversation

neverchanje
Copy link
Contributor

No description provided.

@neverchanje neverchanje merged commit 80cb2c3 into XiaoMi:master May 6, 2019
@neverchanje neverchanje deleted the dup-part-0 branch May 6, 2019 07:17
std::string remote_cluster_name,
std::string meta_store_path)
: id(dupid),
app_id(appid),
remote(std::move(remote_cluster_name)),
store_path(std::move(meta_store_path)),
create_timestamp_ms(dsn_now_ms())
create_timestamp_ms(create_now_ms)
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个地方对时间精确度要求高吗?create_now_ms的值应该是初始化赋值时候的时间值,并不是此时这条代码执行的时候值吧?

neverchanje pushed a commit that referenced this pull request Jun 28, 2019
# Conflicts:
#	src/dist/replication/meta_server/duplication/meta_duplication_service.cpp
#	src/dist/replication/meta_server/duplication/meta_duplication_service.h
#	src/dist/replication/meta_server/meta_service.cpp
#	src/dist/replication/test/meta_test/unit_test/meta_duplication_service_test.cpp
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants