Save errors per keyspace in vschema instead of failing on the first
error so that keyspaces with valid vschema don't get invalidated by a
keyspace with vschema errors
Signed-off-by: deepthi <deepthi@planetscale.com>
This commit consists only of the changes from running the following:
```
find go -name '*.go' | xargs -n 10 -- sed -i -r -e \
's,"github.com/youtube/vitess/go/,"vitess.io/vitess/go/,'
```
Previously there was no way to tell if the resilient server had a
valid cached value from the debug UI, as any error would trump the
cached value.
To address this, display the current cached value (if any), the last
error (if any), as well as the cache freshness / TTL for all portions
of the debug status UI.
Please refer to #2694 and #2670 for motivation and reasoning for
this change.
I've tried to follow best practice in inserting the copyright
headers. In other open source projects, not all files carry
the notice. For example documentation doesn't. I've followed
similar ground rules.
I did not change the php because there is a separate LICENSE
file there by Pixel Federation. We'll first need to notify
them our intent before changing anything there.
As for the presubmit check, it's going to be non-trivial
because of the number of exceptions, like file types,
directories and generated code. So, it will have to be
a separate project.