Skip to content

Commit

Permalink
feat: update definitions about malformed sync
Browse files Browse the repository at this point in the history
  • Loading branch information
raindust committed Mar 1, 2024
1 parent 43f11e5 commit cef192a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion codecs/runtime-codec/proto/tokenstate-provider.proto
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ message ExecCursor {
message SyncStateRequest {
Checkpoint checkpoint = 1;
ExecCursor execCursor = 2;
bool isMalformed = 3;
optional bytes isMalformed = 3;
}

message SyncStateResponse {
Expand Down
2 changes: 1 addition & 1 deletion system-actors/src/replica/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ pub struct IsMalformedSyncRequest;

#[doc(hidden)]
#[derive(Debug, Clone, Serialize, Deserialize, TypeId)]
pub struct IsMalformedSyncResponse(pub bool);
pub struct IsMalformedSyncResponse(pub Option<Tsid>);

#[doc(hidden)]
#[derive(Debug, Clone, Serialize, Deserialize, TypeId, Priced)]
Expand Down

0 comments on commit cef192a

Please sign in to comment.