Documentation: What is the islandora_version_count table used for?

Created on 31 May 2020  路  6Comments  路  Source: Islandora/documentation

islandora.install creates the db table islandora_version_count, which is annotated as 'Keeps track of the number of changes to an entity'. However, grepping through the contrib modules directory only reveals a single use of 'islandora_version_count', in the .install file, and creating a new revision of a node doesn't add anything to the table. Is this still in use, and if so, what populates it?

question

Most helpful comment

Burn it with :fire:?

We didn't implement it... and may very well never...

All 6 comments

Ohhhhh waaaaay back (yes kids, there was a time before COVID-19) that was going to be how we enforced write order to Fedora. To ensure that in the case of two instantaneous edits we didn't end up with the wrong state in Fedora compared to Drupal we would check that the counter of the new write was one more than the counter of the current document. It may not be needed anymore but we haven't done a lot of multi-edit testing and depending on how asynchronous your Fedora is this could still be an issue.

Ah. Thanks for the background.

Should I just close this?

馃し

Burn it with :fire:?

We didn't implement it... and may very well never...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

acoburn picture acoburn  路  4Comments

ruebot picture ruebot  路  3Comments

acoburn picture acoburn  路  5Comments

DiegoPino picture DiegoPino  路  5Comments

ruebot picture ruebot  路  4Comments