This commit is contained in:
aozhiwei 2020-06-19 16:21:34 +08:00
parent db021a32f3
commit 139cb17a92
2 changed files with 13 additions and 1 deletions

View File

@ -138,5 +138,5 @@ int DBEngine::GetInstanceId(long long crc32_code)
if (mysql_cluster_conf->Size() <= 0) {
abort();
}
return crc32_code % mysql_cluster_conf->Size();
return (crc32_code % mysql_cluster_conf->Size()) + 1;
}

View File

@ -208,3 +208,15 @@ message SS_IM_FriendAgreeResponse
optional MFIMMsgConext context = 1;
optional string target_id = 3;
}
message SS_IM_FriendDeleteRequest
{
optional MFIMMsgConext context = 1;
optional string target_id = 3;
}
message SS_IM_FriendDeleteResponse
{
optional MFIMMsgConext context = 1;
optional string target_id = 3;
}