Skip to content

Commit

Permalink
paxos
Browse files Browse the repository at this point in the history
  • Loading branch information
salemmohammed committed Jul 9, 2021
1 parent 06fc91e commit b4e29e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ func (d *db) Write(k int, v int) error {
//value := make([]byte, 10000)
//binary.ByteOrder(v)
binary.PutUvarint(value, uint64(v))
err := d.PutMUL(key, value)
//err := d.Put(key, value)
//err := d.PutMUL(key, value)
err := d.Put(key, value)
return err
}

Expand Down

0 comments on commit b4e29e8

Please sign in to comment.