Skip to content

Conversation

@trisberg
Copy link
Member

@trisberg trisberg commented Jan 6, 2017

We should no longer rely on MYISAM for the sequence table since this
engine might not always be available. After this change the storage
engine used by the sequence table can be MYISAM or INNODB since the
sequences are allocated using a separate connection without being
affected by any other transactions that might be in progress.

Issue: SPR-15107

@trisberg
Copy link
Member Author

Rebased and squashed the commits. Added a useNewConnection flag to allow for falling back on original functionality by setting this flag to false.

@trisberg trisberg force-pushed the SPR-15107 branch 3 times, most recently from 6f153fb to 7500ab7 Compare January 11, 2017 21:37
We should no longer rely on MYISAM for the sequence table since this
engine might not always be available. After this change the storage
engine used by the sequence table can be MYISAM or INNODB since the
sequences are allocated using a new connection without being
affected by any other transactions that might be in progress.

To allow users to fall back on the original functionality of using
MYISAM tables for the incrementer, we add a `useNewConnection` flag to
indicate whether or not to use a new connection for the incrementer.
This flag defaults to true.

Issue: SPR-15107
@trisberg
Copy link
Member Author

We might consider having the default for "useNewConnection" to be false in 4.3.x to maintain backwards compatibility and then flip that to true in 5.0.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants