Skip to content

Commit

Permalink
added the real release note (in addition to the "pre-release note", t…
Browse files Browse the repository at this point in the history
…hat we'll need to send out

to the remote installations). #6522
  • Loading branch information
landreev committed Feb 5, 2020
1 parent 1abc74d commit 44f6df1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 7 deletions.
27 changes: 27 additions & 0 deletions doc/release-notes/6522-datafile-duplicates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
In this Dataverse release, we are adding a database constraint to
prevent duplicate DataFile objects pointing to the same physical file
from being created.

Before this release can be deployed, your database must be checked
for any such duplicates that may already exist. If present,
the duplicates will need to be deleted, and the integrity of the
stored physical files verified.

(We have notified the community about this issue ahead of the release,
so you may have already addressed it. In this case, please disregard
this release note)

Please run the diagnostic script provided at
https://github.com/IQSS/dataverse/raw/develop/scripts/issues/6522/find_duplicates.sh.
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 this issue is not present in your database, you will see a message
`... no duplicate dvObjects in your database. Your installation is
ready to be upgraded to Dataverse 4.20`.

If duplicates are detected, it will provide further instructions. We
will need you to send us the produced output. We will then assist you
in resolving this problem in your database.

15 changes: 8 additions & 7 deletions scripts/issues/6522/PRE-RELEASE-INFO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ In the next Dataverse release, we are adding a database constraint to
prevent duplicate DataFile objects pointing to the same physical file
from being created.

Before the next release can be deployed, we need to check your
database for any such duplicates that may already exist. If present,
the duplicates will need to be deleted, and the stored files checked
for potential corruption.
Before the next release can be deployed, your database must be checked
for any such duplicates that may already exist. If present,
the duplicates will need to be deleted, and the integrity of the
stored physical files verified.

Please run the diagnostic script provided at
https://github.com/IQSS/dataverse/raw/6522-duplicate-dvobjects/scripts/issues/6522/find_duplicates.sh.
The script relies on PostgreSQL utility psql in order to talk to the
database. You'll need to edit the credentials at the top of the script
to match your setup.
(!-- We will need to change the name of the branch above to "develop" 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 this issue is not present in your database, you will see a message
"... no duplicate dvObjects in your database. Your installation is
Expand Down

0 comments on commit 44f6df1

Please sign in to comment.