Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken blobs after migration from OrientDB to H2 #526

Open
harridu opened this issue Nov 25, 2024 · 3 comments
Open

broken blobs after migration from OrientDB to H2 #526

harridu opened this issue Nov 25, 2024 · 3 comments
Assignees
Labels
triage Issues that need to be investigated, replicated

Comments

@harridu
Copy link

harridu commented Nov 25, 2024

  • What problem are you trying to solve?
    After the migration from OrientDB to H2 using Nexus 3.70.3-01 (and its migration tool) all blob stores had the same size. Before (using OrientDB):
    snapshot CQGjVy

After (using H2):
snapshot Hs4rtr

Of course Nexus complained loudly because several blobs seem to have exceeded their quotas. Others shrunk alot,

  • Do you have a workaround you are using at present?
    No, I am stuck with the migration. This effect is not mentioned in the migration guide, AFAICT, so it is quite alarming. Migration to JDK17 and a newer Nexus version has been stopped. Fortunately it is a stage system, cloned from the master.

  • What feature or behavior is this required for?
    Migration from Nexus 3.70.3 to 3.74, JDK upgrade

  • How could we solve this issue? (Not knowing is okay!)

  • Tell us about your Nexus Repository deployment: what version, operating system, and database are you using?
    Nexus 3.70.3-01, Debian 12, temurin-11-jdk 11.0.25.0.0+9, DB migrated from OrientDB to H2 using OpenJDK 11 (as requested), taken from Debian 11

@mrprescott mrprescott added triage Issues that need to be investigated, replicated and removed pending labels Nov 26, 2024
@alexander-vie
Copy link

It seems to be mostly a display issue, storage size and blob count is the same for most repos/blobs - but not for all blobs at our site. The free space display is plausible and approximatly the same as before.

@alexander-vie
Copy link

I was able to fix it with a job run of "Repair - Recalculate blob store storage".
Inspiration was from #482 (comment)

@harridu
Copy link
Author

harridu commented Dec 1, 2024

After running the recalculate task blob storage seems to be fine again. The task was running for >24h, though.

I would suggest to add this to the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issues that need to be investigated, replicated
Projects
None yet
Development

No branches or pull requests

3 participants