Skip to content

Commit

Permalink
"pre-release note" to be sent out to the remote installations.
Browse files Browse the repository at this point in the history
This (and the proper release note) SUPERCEDES what was in PR #6522!
i.e. we are sending out only ONE note, not TWO, there's only one
script to run, etc.
(ref. #6510)
  • Loading branch information
landreev committed Feb 20, 2020
1 parent 0f394ea commit 9d6729b
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 27 deletions.
24 changes: 24 additions & 0 deletions doc/release-notes/6510-duplicate-datafiles-and-datatables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
We recently discovered that *potential* data integrity issues in
Dataverse databases. One manifests itself as duplicate DataFile
objects created for the same uploaded file; the other as duplicate
DataTable (tabular metadata) objects linked to the same
DataFile. (GitHub issues https://github.com/IQSS/dataverse/issues/6522
and https://github.com/IQSS/dataverse/issues/6510 respectively).

Please run the diagnostic script provided at
https://github.com/IQSS/dataverse/raw/6510-repeated-ingests/scripts/issues/6510/check_datafiles_6522_6510.sh
[NOTE!! the branch name must be changed to "develop" in the URL above before we merge!!]

The script relies on the PostgreSQL utility psql to access the
database. You will need to edit the credentials at the top of the script
to match your database configuration.

If neither of the two issues is present in your database, you will see
a message "... no duplicate DataFile objects in your database" and "no
tabular files affected by this issue in your database".

If either, or both kinds of duplicates are detected, the script will
provide further instructions. We will need you to send us the produced
output. We will then assist you in resolving the issues in your
database.

27 changes: 0 additions & 27 deletions doc/release-notes/6522-datafile-duplicates.md

This file was deleted.

24 changes: 24 additions & 0 deletions scripts/issues/6510/PRE-RELEASE-INFO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
We recently discovered that *potential* data integrity issues in
Dataverse databases. One manifests itself as duplicate DataFile
objects created for the same uploaded file; the other as duplicate
DataTable (tabular metadata) objects linked to the same
DataFile. (GitHub issues https://github.com/IQSS/dataverse/issues/6522
and https://github.com/IQSS/dataverse/issues/6510 respectively).

Please run the diagnostic script provided at
https://github.com/IQSS/dataverse/raw/6510-repeated-ingests/scripts/issues/6510/check_datafiles_6522_6510.sh
[NOTE!! the branch name must be changed to "develop" in the URL above before we merge!!]

The script relies on the PostgreSQL utility psql to access the
database. You will need to edit the credentials at the top of the script
to match your database configuration.

If neither of the two issues is present in your database, you will see
a message "... no duplicate DataFile objects in your database" and "no
tabular files affected by this issue in your database".

If either, or both kinds of duplicates are detected, the script will
provide further instructions. We will need you to send us the produced
output. We will then assist you in resolving the issues in your
database.

0 comments on commit 9d6729b

Please sign in to comment.