Skip to content

Conversation

@pdurbin
Copy link
Member

@pdurbin pdurbin commented Jul 30, 2025

Note: 6.7.1 can be downloaded from https://github.com/IQSS/dataverse/releases/tag/v6.7.1

What this PR does / why we need it:

After deploying 6.7 to Harvard Dataverse, we found a serious performance problem:

The problem is being caused by this PR:

We decided to create a 6.7.1 hotfix release and revert the problematic PR above.

Which issue(s) this PR closes:

Special notes for your reviewer:

We haven't done a hotfix release in a while, since 5.11.1. Things to note:

Suggestions on how to test this:

On a server with a lot of collections (such as the QA server) try bringing up the "create dataset" and "edit dataset" screens on 6.7. This should be quite slow (for me on Harvard Dataverse it timed out after about 2.5 minutes). Compare with this PR.

Also, on 6.7 the "host dataverse" field will sometimes be absent. "Do not show the host dataverse field when there is nothing to choose." As of this PR the "host dataverse" field will always be present. See the release note snippet in #11301 (there's also language about not erasing your input).

Try browsing to a collection you can create datasets in and click "add dataset". Then change the "host dataverse" to another collection you can create datasets it. Create the dataset. Did it get created in the right collection?

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Yes. See above.

Is there a release notes update needed for this change?:

We'll write the release notes as we draft the release. Our last hotfix was https://github.com/IQSS/dataverse/releases/tag/v5.11.1 and here's a suggested released note based on it.

Dataverse 6.7.1

This is a bug fix release for Dataverse 6.7.1 that fixes a performance problem when loading the "create dataset" and "edit dataset pages". For details see #11700.

Complete List of Changes

For the complete list of code changes in this release, see the 6.7.1 milestone in GitHub.

For help with upgrading, installing, or general questions please post to the Dataverse Community Google Group or email [email protected].

Upgrade Instructions

These instructions assume that you've already upgraded through all the 5.x releases and are now running Dataverse 6.7.

0. These instructions assume that you are upgrading from the immediate previous version. If you are running an earlier version, the only supported way to upgrade is to progress through the upgrades to all the releases in between before attempting the upgrade to this version.

If you are running Payara as a non-root user (and you should be!), remember not to execute the commands below as root. By default, Payara runs as the dataverse user. In the commands below, we use sudo to run the commands as a non-root user.

Also, we assume that Payara 6 is installed in /usr/local/payara6. If not, adjust as needed.

export PAYARA=/usr/local/payara6

(or setenv PAYARA /usr/local/payara6 if you are using a csh-like shell)

1. List deployed applications

$PAYARA/bin/asadmin list-applications

2. Undeploy the previous version (should match "list-applications" above)

$PAYARA/bin/asadmin undeploy dataverse-6.7

3. Download and deploy this version

wget https://github.com/IQSS/dataverse/releases/download/v6.7/dataverse-6.7.1.war
$PAYARA/bin/asadmin deploy dataverse-6.7.1.war

Note: if you have any trouble deploying, stop Payara, remove the following directories, start Payara, and try to deploy again.

sudo service payara stop
sudo rm -rf $PAYARA/glassfish/domains/domain1/generated
sudo rm -rf $PAYARA/glassfish/domains/domain1/osgi-cache
sudo rm -rf $PAYARA/glassfish/domains/domain1/lib/databases
sudo service payara start

Additional documentation:

None.

@pdurbin pdurbin moved this to In Progress 💻 in IQSS Dataverse Project Jul 30, 2025
@github-actions github-actions bot added the Type: Bug a defect label Jul 30, 2025
@pdurbin pdurbin added this to the 6.7.1 milestone Jul 30, 2025
@pdurbin pdurbin removed the Type: Bug a defect label Jul 30, 2025
@github-actions

This comment has been minimized.

@pdurbin pdurbin moved this from In Progress 💻 to Ready for Review ⏩ in IQSS Dataverse Project Jul 30, 2025
@sekmiller sekmiller self-assigned this Jul 30, 2025
@sekmiller sekmiller moved this from Ready for Review ⏩ to In Review 🔎 in IQSS Dataverse Project Jul 30, 2025
With the wrong line, the "host dataverse" field wasn't
working at all!
Copy link
Contributor

@sekmiller sekmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. (and seems to work - allows you to change the host dv - in the simplest case)

@sekmiller sekmiller moved this from In Review 🔎 to Ready for QA ⏩ in IQSS Dataverse Project Jul 30, 2025
@sekmiller sekmiller removed their assignment Jul 30, 2025
@github-actions
Copy link

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:11698-6.7.1-hotfix
ghcr.io/gdcc/configbaker:11698-6.7.1-hotfix

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

@ofahimIQSS ofahimIQSS self-assigned this Jul 30, 2025
@ofahimIQSS ofahimIQSS moved this from Ready for QA ⏩ to QA ✅ in IQSS Dataverse Project Jul 30, 2025
@ofahimIQSS
Copy link
Contributor

Shouldn't #5 in the upgrade instructions be #4?

@pdurbin
Copy link
Member Author

pdurbin commented Jul 30, 2025

Yes, thanks, fixed.

@ofahimIQSS ofahimIQSS merged commit 052b3c8 into master Jul 31, 2025
23 checks passed
@github-project-automation github-project-automation bot moved this from QA ✅ to Merged 🚀 in IQSS Dataverse Project Jul 31, 2025
@ofahimIQSS ofahimIQSS removed their assignment Jul 31, 2025
@ofahimIQSS ofahimIQSS self-assigned this Jul 31, 2025
ofahimIQSS added a commit that referenced this pull request Jul 31, 2025
when cutting a release, base.image.version needs to be "revision" #11700
@ofahimIQSS ofahimIQSS removed their assignment Jul 31, 2025
@pdurbin pdurbin moved this from Merged 🚀 to Done 🧹 in IQSS Dataverse Project Aug 5, 2025
@cmbz cmbz added the FY26 Sprint 4 FY26 Sprint 4 (2025-08-13 - 2025-08-27) label Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 4 FY26 Sprint 4 (2025-08-13 - 2025-08-27)

Projects

Status: Done 🧹

Development

Successfully merging this pull request may close these issues.

5 participants