Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmsc818fall2023projects
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Keleher
cmsc818fall2023projects
Commits
74136f1e
Commit
74136f1e
authored
1 year ago
by
Peter J. Keleher
Browse files
Options
Downloads
Patches
Plain Diff
auto
parent
3294c1c4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
p2.md
+2
-4
2 additions, 4 deletions
p2.md
with
2 additions
and
4 deletions
p2.md
+
2
−
4
View file @
74136f1e
...
...
@@ -62,9 +62,7 @@ There are essentially two parts to this project, both of which that rely on usin
gRPCs.
The first part is taking your simple blob store and splitting it to a distinct
blob
*store*
in
`p2/blobstore/main.go`
and command-line tool
`p2/tool/main.go`
. The
*blobstore*
is the only
part of this project that interacts with the file system and should be oblivious to the contents of the
blobs it is storing.
blob
*store*
in
`p2/ubi/server.go`
and command-line tools
`p2/blob.go`
and
`p2/lock.go`
.
The second part is building a lock server that will take an
*acquire*
request for a file
path and acquire read (SHARED) locks on the entire path from the root down to the path's
...
...
@@ -123,7 +121,7 @@ up your server (in `server.go`), the actual startup is here:
```
The
`GRPCserver`
is a placeholder structure that does not need to
define any properties or methods, except the
`UnimplementedBlobServer`
method. From
`
blobstore
/grpcServe.go`
method. From
`
ubi
/grpcServe.go`
```
type GRPCserver struct {
pb.UnimplementedBlobServer
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment