|
impl/memory: datastore and memcache namespacing
Update GetNamespace() to return an additional boolean, which will be
true if the namespace was set and false if it was not. The AppEngine SDK
defaults to having no namespace installed ("", false), but will allow
the user to install any namespace. This allows a user to differentiate
between no namespace and an empty namespace ("", true).
Make impl/memory's datastore query operation to error if the namespace has
been set to the empty namespace (""). This reflects observed production
behavior.
BUG=
Committed: https://github.com/luci/gae/commit/76e946629e8d7f5e68963ff48fbaabe5ac2c2157
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+206 lines, -48 lines) |
Patch |
|
M |
filter/count/gi.go
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
filter/dscache/context.go
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
filter/txnBuf/state.go
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
impl/dummy/dummy.go
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
impl/memory/datastore.go
|
View
|
1
2
|
10 chunks |
+46 lines, -11 lines |
0 comments
|
Download
|
|
M |
impl/memory/datastore_query_execution_test.go
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
impl/memory/datastore_test.go
|
View
|
1
|
2 chunks |
+79 lines, -1 line |
0 comments
|
Download
|
|
M |
impl/memory/info.go
|
View
|
1
|
3 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
impl/memory/memcache.go
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
impl/memory/memcache_test.go
|
View
|
1
|
2 chunks |
+23 lines, -0 lines |
0 comments
|
Download
|
|
M |
impl/memory/taskqueue.go
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
impl/prod/context.go
|
View
|
1
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
impl/prod/info.go
|
View
|
1
|
3 chunks |
+15 lines, -7 lines |
0 comments
|
Download
|
|
M |
impl/prod/raw_datastore.go
|
View
|
1
|
3 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
service/datastore/checkfilter.go
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
service/datastore/context.go
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
service/datastore/context_test.go
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
service/datastore/datastore_test.go
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
service/info/interface.go
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 17 (8 generated)
|