Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlbase: allow FamilyFormatVersion in tabledesc validate #7119

Merged
merged 1 commit into from
Jun 9, 2016

Conversation

danhhz
Copy link
Contributor

@danhhz danhhz commented Jun 8, 2016

The beta containing this commit will start the range of versions that are
bidirectionally compatible with the full implementation of column families
(module tables that use the feature). Every commit before this will be
forward-only compatible.


This change is Reviewable

@danhhz danhhz assigned dt Jun 8, 2016
@dt
Copy link
Member

dt commented Jun 9, 2016

I kinda want to iterate over al desc's at startup to get their error earlier? or the global version file (that exists, right)?

Previously, paperstreet (Daniel Harrison) wrote…

sqlbase: allow FamilyFormatVersion in tabledesc validate

The beta containing this commit will start the range of versions that are

bidirectionally compatible with the full implementation of column families

(module tables that use the feature). Every commit before this will be

forward-only compatible.


Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


sql/sqlbase/structured.go, line 543 [r1] (raw file):

  // tests with it as the new bidirectional compatibility version. Then remove
  // support here for BaseFormatVersion.
  if desc.GetFormatVersion() != BaseFormatVersion && desc.GetFormatVersion() != FamilyFormatVersion {

if v := desc.GetFormatVersion(); v != ...


Comments from Reviewable

The beta containing this commit will start the range of versions that are
bidirectionally compatible with the full implementation of column families
(module tables that use the feature). Every commit before this will be
forward-only compatible.
@danhhz danhhz force-pushed the family_formatversion branch from 54f399c to 84fb05d Compare June 9, 2016 16:34
@danhhz
Copy link
Contributor Author

danhhz commented Jun 9, 2016

#7136

Previously, dt (David Taylor) wrote…

I kinda want to iterate over al desc's at startup to get their error earlier? or the global version file (that exists, right)?


Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion, some commit checks pending.


sql/sqlbase/structured.go, line 543 [r1] (raw file):

Previously, dt (David Taylor) wrote…

if v := desc.GetFormatVersion(); v != ...

Done.

Comments from Reviewable

@dt
Copy link
Member

dt commented Jun 9, 2016

:lgtm:

Previously, paperstreet (Daniel Harrison) wrote…

#7136


Review status: 0 of 2 files reviewed at latest revision, all discussions resolved, some commit checks pending.


Comments from Reviewable

@dt dt added the docs-todo label Jun 9, 2016
@dt
Copy link
Member

dt commented Jun 9, 2016

@jseldess this isn't a breaking change, but will be the oldest-compatible-version when the upcoming breaking change happens

@danhhz danhhz merged commit c17e77f into cockroachdb:master Jun 9, 2016
@danhhz danhhz deleted the family_formatversion branch June 9, 2016 17:18
@jseldess
Copy link
Contributor

Thanks for the callout, @dt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants