Skip to content

Commit

Permalink
Get/set oplog index host functions (#250)
Browse files Browse the repository at this point in the history
* Extended Golem WIT and unified oplog index to be u64 everywhere

* Fix tests

* Format

* Get/set oplog index implementation and test

* Fix worker leak

* Fixed log entry gathering in tests

* Fixes

* Removed debug prints

* Updated golem-wit submodule

* Update OpenAPI

* Update golem-wit

* Renamed Marker to NoOp

* Refactorings, keeping deleted regions in worker status record, recomputing from oplog when needed

* Clippy

* Updated jump test

* Renames and log improvements

* Fixes

* Performance fix

* Fix

* Rebuild
  • Loading branch information
vigoo authored Mar 20, 2024
1 parent a750028 commit bd7a024
Show file tree
Hide file tree
Showing 62 changed files with 2,732 additions and 643 deletions.
23 changes: 21 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ package golem.worker;


message CompleteParameters {
int32 oplog_idx = 1;
uint64 oplog_idx = 1;
bytes data = 2;
}
2 changes: 1 addition & 1 deletion golem-api-grpc/proto/golem/worker/promise_id.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ import "golem/worker/worker_id.proto";

message PromiseId {
WorkerId worker_id = 1;
int32 oplog_idx = 2;
uint64 oplog_idx = 2;
}
1 change: 1 addition & 0 deletions golem-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ poem-openapi = { workspace = true }
prometheus = { workspace = true }
prost = { workspace = true }
rand = "0.8.5"
range-set-blaze = "0.1.16"
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
Expand Down
Loading

0 comments on commit bd7a024

Please sign in to comment.