Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(132)

Issue 6446087: code review 6446087: leveldb: file locking for OSX/amd64. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by nictuku
Modified:
13 years ago
Reviewers:
CC:
nigeltao, golang-dev
Visibility:
Public.

Description

leveldb: file locking for OSX/amd64. This was tested by running two instances of the program in manualtest/filelock. Also add a very basic test to ease implementation for other systems.

Patch Set 1 #

Patch Set 2 : diff -r b485451dbc64 https://code.google.com/p/leveldb-go #

Patch Set 3 : diff -r b485451dbc64 https://code.google.com/p/leveldb-go #

Total comments: 1

Patch Set 4 : diff -r b485451dbc64 https://code.google.com/p/leveldb-go #

Total comments: 2

Patch Set 5 : diff -r b485451dbc64 https://code.google.com/p/leveldb-go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -12 lines) Patch
M leveldb/db/file.go View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M leveldb/db/file_lock_darwin_amd64.go View 1 2 3 1 chunk +7 lines, -8 lines 0 comments Download
M leveldb/db/file_lock_generic.go View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
nictuku
Hello nigeltao@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/leveldb-go
13 years ago (2012-08-04 20:10:06 UTC) #1
nictuku
http://codereview.appspot.com/6446087/diff/5001/leveldb/db/file_lock_generic.go File leveldb/db/file_lock_generic.go (right): http://codereview.appspot.com/6446087/diff/5001/leveldb/db/file_lock_generic.go#newcode5 leveldb/db/file_lock_generic.go:5: // +build !linux,!amd64 !darwin,!amd64 It looks like this is ...
13 years ago (2012-08-04 22:26:29 UTC) #2
nigeltao
http://codereview.appspot.com/6446087/diff/3005/leveldb/db/file_test.go File leveldb/db/file_test.go (right): http://codereview.appspot.com/6446087/diff/3005/leveldb/db/file_test.go#newcode1 leveldb/db/file_test.go:1: package db Missing copyright notice. But I wouldn't bother ...
13 years ago (2012-08-06 00:21:42 UTC) #3
nigeltao
On 5 August 2012 08:26, <yves.junqueira@gmail.com> wrote: > > http://codereview.appspot.com/6446087/diff/5001/leveldb/db/file_lock_generic.go > File leveldb/db/file_lock_generic.go (right): > ...
13 years ago (2012-08-06 00:40:45 UTC) #4
nictuku
Please take another look. http://codereview.appspot.com/6446087/diff/3005/leveldb/db/file_test.go File leveldb/db/file_test.go (right): http://codereview.appspot.com/6446087/diff/3005/leveldb/db/file_test.go#newcode1 leveldb/db/file_test.go:1: package db On 2012/08/06 00:21:42, ...
13 years ago (2012-08-06 12:19:25 UTC) #5
nigeltao
LGTM.
13 years ago (2012-08-07 01:02:40 UTC) #6
nigeltao
13 years ago (2012-08-07 01:05:57 UTC) #7
*** Submitted as
http://code.google.com/p/leveldb-go/source/detail?r=f9c56ee746b1 ***

leveldb: file locking for OSX/amd64.

This was tested by running two instances of the program in manualtest/filelock.

Also add a very basic test to ease implementation for other systems.

R=nigeltao
CC=golang-dev
http://codereview.appspot.com/6446087

Committer: Nigel Tao <nigeltao@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b