Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
empiredan committed Nov 29, 2024
1 parent 5efc3db commit f99da3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion idl/duplication.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ struct duplication_confirm_entry
2:i64 confirmed_decree;
3:optional bool checkpoint_prepared = false;

//
// Last committed decree from the primary replica of each partition, collected by
// meta server and used to be compared with duplicating progress of follower table.
4:optional i64 last_committed_decree;
}

Expand Down
2 changes: 1 addition & 1 deletion src/meta/duplication/duplication_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class duplication_info

struct partition_progress
{
// last committed decree collected from the primary replica of each partition.
// Last committed decree collected from the primary replica of each partition.
// Not persisted to remote meta storage.
int64_t last_committed_decree{invalid_decree};

Expand Down
2 changes: 1 addition & 1 deletion src/meta/server_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ void server_state::create_app(dsn::message_ex *msg)
zauto_write_lock l(_lock);

auto app = get_app(request.app_name);
if (!app) {
if (app) {
configuration_create_app_response response;

switch (app->status) {
Expand Down

0 comments on commit f99da3c

Please sign in to comment.