Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-28861

Spider: Deprecate table options by COMMENT

Details

    Description

      MDEV-28856 implements the engine-defined options corresponding to major table options. So, we now deprecate all table params specified by COMMENT and CONNECTION.

      MDEV-31146 proposes that SHOW CREATE TABLE shows options, which is optional and could be done in a separate ticket if needed.

      Other than that COMMENT and CONNECTION will cause a deprecation warning, and every param in COMMENT and CONNECTION that does not have a corresponding table option will cause a separate deprecation warning.

      Attachments

        Issue Links

          Activity

            nayuta-yanagisawa Nayuta Yanagisawa (Inactive) created issue -
            nayuta-yanagisawa Nayuta Yanagisawa (Inactive) made changes -
            Field Original Value New Value
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 10.8 [ 26121 ]
            ycp Yuchen Pei made changes -
            ralf.gebhardt Ralf Gebhardt made changes -
            Fix Version/s 11.3 [ 28565 ]
            Fix Version/s 10.9 [ 26905 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            ralf.gebhardt Ralf Gebhardt made changes -
            Assignee Nayuta Yanagisawa [ JIRAUSER47117 ] Yuchen Pei [ JIRAUSER52627 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            ycp Yuchen Pei made changes -
            Fix Version/s N/A [ 14700 ]
            Fix Version/s 11.3 [ 28565 ]
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]
            ycp Yuchen Pei made changes -
            Resolution Duplicate [ 3 ]
            Status Closed [ 6 ] Stalled [ 10000 ]
            ycp Yuchen Pei made changes -
            Comment [ This will be done as a part of MDEV-28856 ]
            ycp Yuchen Pei made changes -
            Fix Version/s 11.3 [ 28565 ]
            Fix Version/s N/A [ 14700 ]
            ycp Yuchen Pei made changes -
            Description MDEV-28856 implements the engine-defined options corresponding to major table options. So, we now deprecate the table options, specified by COMMENT, which have engine-defined option correspondence. Also, deprecate non-major, rarely used table options. MDEV-28856 implements the engine-defined options corresponding to major table options. So, we now deprecate all table params specified by COMMENT.

            As proposed in MDEV-31146[1], changes in this ticket will cause COMMENT to be still accepted, but SHOW CREATE TABLE shows options. COMMENT will cause a deprecation warning, and every param in COMMENT that does not have a corresponding table option will cause a separate deprecation warning.
            ycp Yuchen Pei made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            ycp Yuchen Pei made changes -
            Description MDEV-28856 implements the engine-defined options corresponding to major table options. So, we now deprecate all table params specified by COMMENT.

            As proposed in MDEV-31146[1], changes in this ticket will cause COMMENT to be still accepted, but SHOW CREATE TABLE shows options. COMMENT will cause a deprecation warning, and every param in COMMENT that does not have a corresponding table option will cause a separate deprecation warning.
            MDEV-28856 implements the engine-defined options corresponding to major table options. So, we now deprecate all table params specified by COMMENT and CONNECTION.

            As proposed in MDEV-31146[1], changes in this ticket will cause COMMENT to be still accepted, but SHOW CREATE TABLE shows options. COMMENT and CONNECTION will cause a deprecation warning, and every param in COMMENT and CONNECTION that does not have a corresponding table option will cause a separate deprecation warning.
            serg Sergei Golubchik made changes -
            Fix Version/s 11.4 [ 29301 ]
            Fix Version/s 11.3 [ 28565 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 11.5 [ 29506 ]
            Fix Version/s 11.4 [ 29301 ]
            ycp Yuchen Pei made changes -
            Fix Version/s 11.4 [ 29301 ]
            Fix Version/s 11.5 [ 29506 ]
            ycp Yuchen Pei made changes -
            Status Stalled [ 10000 ] In Progress [ 3 ]
            ycp Yuchen Pei made changes -
            Description MDEV-28856 implements the engine-defined options corresponding to major table options. So, we now deprecate all table params specified by COMMENT and CONNECTION.

            As proposed in MDEV-31146[1], changes in this ticket will cause COMMENT to be still accepted, but SHOW CREATE TABLE shows options. COMMENT and CONNECTION will cause a deprecation warning, and every param in COMMENT and CONNECTION that does not have a corresponding table option will cause a separate deprecation warning.
            MDEV-28856 implements the engine-defined options corresponding to major table options. So, we now deprecate all table params specified by COMMENT and CONNECTION.

            MDEV-31146 proposes that SHOW CREATE TABLE shows options, which is optional and could be done in a separate ticket if needed.

            Other than that COMMENT and CONNECTION will cause a deprecation warning, and every param in COMMENT and CONNECTION that does not have a corresponding table option will cause a separate deprecation warning.
            julien.fritsch Julien Fritsch made changes -
            Issue Type Task [ 3 ] New Feature [ 2 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            Issue Type New Feature [ 2 ] Task [ 3 ]
            ycp Yuchen Pei added a comment -

            Hi holyfoot, ptal thanks

            d70daaa3cd3 upstream/bb-11.4-mdev-28861 MDEV-28861 Deprecate spider table options by comment/connection
            

            ycp Yuchen Pei added a comment - Hi holyfoot , ptal thanks d70daaa3cd3 upstream/bb-11.4-mdev-28861 MDEV-28861 Deprecate spider table options by comment/connection
            ycp Yuchen Pei made changes -
            Assignee Yuchen Pei [ JIRAUSER52627 ] Alexey Botchkov [ holyfoot ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            ycp Yuchen Pei added a comment -

            Sorry, I forgot about deprecating params not selected for table options in MDEV-28856. Will need to rework a bit.

            ycp Yuchen Pei added a comment - Sorry, I forgot about deprecating params not selected for table options in MDEV-28856 . Will need to rework a bit.
            ycp Yuchen Pei made changes -
            Status In Review [ 10002 ] In Testing [ 10301 ]
            ycp Yuchen Pei made changes -
            Assignee Alexey Botchkov [ holyfoot ] Yuchen Pei [ JIRAUSER52627 ]
            Status In Testing [ 10301 ] Stalled [ 10000 ]
            ycp Yuchen Pei made changes -
            Status Stalled [ 10000 ] In Progress [ 3 ]
            ycp Yuchen Pei added a comment -

            Hi holyfoot, ptal thanks

            6462be25c3a upstream/bb-11.4-mdev-28861 MDEV-28861 Deprecate spider table options by comment/connection

            ycp Yuchen Pei added a comment - Hi holyfoot , ptal thanks 6462be25c3a upstream/bb-11.4-mdev-28861 MDEV-28861 Deprecate spider table options by comment/connection
            ycp Yuchen Pei made changes -
            Assignee Yuchen Pei [ JIRAUSER52627 ] Alexey Botchkov [ holyfoot ]
            Status In Progress [ 3 ] In Review [ 10002 ]

            ok to push.

            holyfoot Alexey Botchkov added a comment - ok to push.
            holyfoot Alexey Botchkov made changes -
            Assignee Alexey Botchkov [ holyfoot ] Yuchen Pei [ JIRAUSER52627 ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            ycp Yuchen Pei made changes -
            Status Stalled [ 10000 ] In Testing [ 10301 ]
            ycp Yuchen Pei made changes -
            Assignee Yuchen Pei [ JIRAUSER52627 ] Roel Van de Paar [ roel ]
            ycp Yuchen Pei added a comment -

            Hi Roel, ptal thanks

            upstream/bb-11.4-mdev-28861 f93c20081a8a505ac502850ec02630f95673dfba
            MDEV-28861 Deprecate spider table options by comment/connection
             
            Also deprecating table params not implemented in MDEV-28856.
            

            ycp Yuchen Pei added a comment - Hi Roel , ptal thanks upstream/bb-11.4-mdev-28861 f93c20081a8a505ac502850ec02630f95673dfba MDEV-28861 Deprecate spider table options by comment/connection   Also deprecating table params not implemented in MDEV-28856.

            Created MDEV-32999 ERROR 138 instead of warning, and potential error masking

            Roel Roel Van de Paar added a comment - Created MDEV-32999 ERROR 138 instead of warning, and potential error masking
            Roel Roel Van de Paar made changes -
            ycp Yuchen Pei made changes -
            Roel Roel Van de Paar made changes -
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            ralf.gebhardt Ralf Gebhardt made changes -
            Labels Preview_11.4
            Roel Roel Van de Paar made changes -
            Roel Roel Van de Paar made changes -
            Roel Roel Van de Paar made changes -
            Roel Roel Van de Paar made changes -

            Created MDEV-33195 Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed in Diagnostics_area::set_ok_status on UPDATE

            Roel Roel Van de Paar added a comment - Created MDEV-33195 Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed in Diagnostics_area::set_ok_status on UPDATE
            Roel Roel Van de Paar made changes -
            Comment [ [~ycp] Hi! With low frequency (seen 3 times overall) I have observed this error:
            {noformat}
            [ERROR] Error reading packet from server: Binary log is not open (server_errno=1236)
            {noformat}
            In the feature branch and nowhere else (all runs, test-server-wide). This is somewhat odd and one would generally expect this to be a bug to be in the feature, however it is 1) not reproducible in any way, even once, 2) it looks very unrelated to the patch code. I am going for the moment subscribe it to a fluke (OOS perhaps). Still, wanted to flag it in case it rings any bells for you. ]
            Roel Roel Van de Paar added a comment - - edited

            OK to push. Please note MDEV-32999.

            Roel Roel Van de Paar added a comment - - edited OK to push. Please note MDEV-32999 .
            Roel Roel Van de Paar made changes -
            Assignee Roel Van de Paar [ roel ] Yuchen Pei [ JIRAUSER52627 ]
            Status In Testing [ 10301 ] Stalled [ 10000 ]
            Roel Roel Van de Paar made changes -
            ycp Yuchen Pei made changes -

            Re-signoff after MDEV-32999 fix. OK to push to 11.4.

            Roel Roel Van de Paar added a comment - Re-signoff after MDEV-32999 fix. OK to push to 11.4.
            ycp Yuchen Pei added a comment -

            Pushed 20741b92370ee48843d6101b6d6eaecab58ba41a to 11.4

            ycp Yuchen Pei added a comment - Pushed 20741b92370ee48843d6101b6d6eaecab58ba41a to 11.4
            ycp Yuchen Pei made changes -
            Fix Version/s 11.4.1 [ 29523 ]
            Fix Version/s 11.4 [ 29301 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            Roel Roel Van de Paar made changes -

            People

              ycp Yuchen Pei
              nayuta-yanagisawa Nayuta Yanagisawa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.