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

Issue 6454064: code review 6454064: misc/dashboard/codereview: add LastUpdate field to CL (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by rsc
Modified:
12 years, 8 months ago
Reviewers:
CC:
dsymonds, golang-dev
Visibility:
Public.

Description

misc/dashboard/codereview: add LastUpdate field to CL To be filled in by a later CL. I deployed a test version to App Engine to work on setting the values, so there are a few records that have this field set already. That field is breaking the live version, so I have pushed a new copy with this 1-line change to the live version I assumed that appengine/datastore was like every other marshaling and unmarshaling package we have in Go (for example, encoding/gob, encoding/json, encoding/xml, and protobuf) and that if it loaded an unknown field it would just ignore it. Apparently not. Sorry.

Patch Set 1 #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M misc/dashboard/codereview/dashboard/cl.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7
rsc
Hello dsymonds, dsymonds@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 8 months ago (2012-07-30 14:13:49 UTC) #1
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=441d5f62e9ff *** misc/dashboard/codereview: add LastUpdate field to CL To be filled in ...
12 years, 8 months ago (2012-07-30 14:14:01 UTC) #2
dsymonds
LGTM I wish I had seen this before you deployed, as "LastUpdate" sounds like a ...
12 years, 8 months ago (2012-07-30 22:51:25 UTC) #3
rsc
> I wish I had seen this before you deployed, as "LastUpdate" sounds > like ...
12 years, 8 months ago (2012-07-30 22:54:27 UTC) #4
dsymonds
On Tue, Jul 31, 2012 at 8:54 AM, Russ Cox <rsc@golang.org> wrote: > If appengine/data ...
12 years, 8 months ago (2012-07-30 22:59:19 UTC) #5
rsc
> That was a design decision made ages ago, but I still think it's the ...
12 years, 8 months ago (2012-07-30 23:01:54 UTC) #6
dsymonds
12 years, 8 months ago (2012-07-30 23:10:39 UTC) #7
On Tue, Jul 31, 2012 at 9:01 AM, Russ Cox <rsc@golang.org> wrote:

> But when you rewrite it, you wouldn't rewrite that field (since you
> don't know about it) so what's the harm?

The unit of datastore storage is the entity, not the field, so that
data would be lost.
Sign in to reply to this message.

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