Problem/Motivation

after d10 upgrade, status report error.

Transaction isolation level
READ-COMMITTED
For this to work correctly, all tables must have a primary key. The following table(s) do not have a primary key: views_url_alias. See the setting MySQL transaction isolation level page for more information.
https://www.drupal.org/docs/getting-started/system-requirements/setting-...

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#6 3396154.patch15.08 KBneptune-dc
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

NicholasS created an issue. See original summary.

nicholass’s picture

Humm. so this module entity_id can have duplicates (Node/Taxonomy IDs) and alias also does not work for the primary key.... I think we have to add a new field to act as a primary key

nicholass’s picture

Status: Active » Needs review
nicholass’s picture

Status: Needs review » Closed (outdated)
Related issues: +#3396617: Timeout on large sites nodes during install

Closing since this fix is going into just a single issue

neptune-dc’s picture

StatusFileSize
new15.08 KB

I needed this patch for my site, so I compiled NicholasS's changes here. In an ideal world, his changes wouldn't take more than two months to merge.

This patch worked for me with the latest version of the module on Drupal 10.

Thanks a lot.

dstorozhuk’s picture

I think this issue still valid. Patch from neptune-dc Looks pretty big. Can you, neptune-dc, please create a pull request and remove all non task related issue from you proposal? Or better to cooperate with NicholasS and add changes to his MR.

dstorozhuk’s picture

Status: Closed (outdated) » Needs work
dstorozhuk’s picture

dstorozhuk’s picture

Status: Needs work » Fixed

Fixed in dev branch, will be released once tested.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

sachbearbeiter’s picture

Is this part of 3.1.0? And if not - please create a new release ...

the_g_bomb’s picture

FYI, this has been included in the 3.x branch. The fix has been further refined, however, in #3433027: Database Indexes was never created because incorrect key in hook_schema
Although, it doesn't look like it has been included in the 3.1.0 release.

the_g_bomb’s picture