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

Issue 4550093: code review 4550093: netchan: added drain method to importer.

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 11 months ago by fritz
Modified:
13 years, 11 months ago
Reviewers:
r
CC:
golang-dev, r, rsc
Visibility:
Public.

Description

netchan: added drain method to importer. Fixes issue 1868.

Patch Set 1 #

Patch Set 2 : diff -r 1a909a093ff9 https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 3 : diff -r 1a909a093ff9 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 1a909a093ff9 https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 5 : diff -r 1a909a093ff9 https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 6 : diff -r 1a909a093ff9 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -3 lines) Patch
M src/pkg/netchan/import.go View 1 2 3 4 5 7 chunks +44 lines, -3 lines 0 comments Download
M src/pkg/netchan/netchan_test.go View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 14
fritz
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 11 months ago (2011-05-30 21:07:50 UTC) #1
r
this will need a test http://codereview.appspot.com/4550093/diff/2001/src/pkg/netchan/import.go File src/pkg/netchan/import.go (right): http://codereview.appspot.com/4550093/diff/2001/src/pkg/netchan/import.go#newcode277 src/pkg/netchan/import.go:277: //Any unacknowledged messages? s/A/ ...
13 years, 11 months ago (2011-06-01 02:58:29 UTC) #2
fritz
Hello golang-dev@googlegroups.com, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 11 months ago (2011-06-01 23:54:23 UTC) #3
fritz
PTAL. I'll toss an update to the netchan test in another ticket. http://codereview.appspot.com/4550093/diff/2001/src/pkg/netchan/import.go File src/pkg/netchan/import.go ...
13 years, 11 months ago (2011-06-01 23:54:57 UTC) #4
rsc
You can put the test in the same CL. Change the files and then run ...
13 years, 11 months ago (2011-06-02 02:17:02 UTC) #5
fritz
Hello golang-dev@googlegroups.com, r@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 11 months ago (2011-06-02 23:22:44 UTC) #6
r
http://codereview.appspot.com/4550093/diff/8001/src/pkg/netchan/import.go File src/pkg/netchan/import.go (right): http://codereview.appspot.com/4550093/diff/8001/src/pkg/netchan/import.go#newcode38 src/pkg/netchan/import.go:38: seqLock sync.Mutex these are not properly commented. also i'm ...
13 years, 11 months ago (2011-06-05 11:27:31 UTC) #7
fritz
Hello golang-dev@googlegroups.com, r@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 11 months ago (2011-06-05 15:09:02 UTC) #8
fritz
http://codereview.appspot.com/4550093/diff/8001/src/pkg/netchan/import.go File src/pkg/netchan/import.go (right): http://codereview.appspot.com/4550093/diff/8001/src/pkg/netchan/import.go#newcode38 src/pkg/netchan/import.go:38: seqLock sync.Mutex Fixed comments. Removed seqNum, changed ackNum to ...
13 years, 11 months ago (2011-06-05 15:11:51 UTC) #9
r
http://codereview.appspot.com/4550093/diff/1002/src/pkg/netchan/import.go File src/pkg/netchan/import.go (right): http://codereview.appspot.com/4550093/diff/1002/src/pkg/netchan/import.go#newcode35 src/pkg/netchan/import.go:35: unackedNum int64 // number of unacknowledged messages. < 0 ...
13 years, 11 months ago (2011-06-05 21:48:32 UTC) #10
fritz
http://codereview.appspot.com/4550093/diff/1002/src/pkg/netchan/import.go File src/pkg/netchan/import.go (right): http://codereview.appspot.com/4550093/diff/1002/src/pkg/netchan/import.go#newcode35 src/pkg/netchan/import.go:35: unackedNum int64 // number of unacknowledged messages. < 0 ...
13 years, 11 months ago (2011-06-06 01:27:55 UTC) #11
fritz
Hello golang-dev@googlegroups.com, r@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 11 months ago (2011-06-06 01:28:38 UTC) #12
r
LGTM
13 years, 11 months ago (2011-06-06 06:45:24 UTC) #13
r
13 years, 11 months ago (2011-06-06 06:55:36 UTC) #14
*** Submitted as http://code.google.com/p/go/source/detail?r=80bef554c8df ***

netchan: added drain method to importer.

Fixes issue 1868.

R=golang-dev, r, rsc
CC=golang-dev
http://codereview.appspot.com/4550093

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

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