Edit Page Hangs on Version History #3252
Labels
bug
claimed: Atmire
Atmire team is working on this issue & will contribute back
component: versioning
performance / caching
Related to performance, caching or embedded objects
Milestone
In direct reference to Version History causes Item page to hang.
Hello.
I am right now developing two different DSpace instances and I struggled with this issue for hours thinking it had something to do with my malformed Entities configuration in one of my instances (let's call it Instance A, see: DSpace/DSpace#9729), but I found that I could reproduce this error in my other DSpace instance that doesn't even have Entities enabled (Instance B), leading me to suspect that this may have something to do with the DSpace code itself, and my suspicions were validated once I found this closed issue (I also found that it didn't matter if
dspace.entity.type
was set to Item). Of course, I am using DSpace 8.0.Describe the Bug:
When an Item has multiple versions, going to the Version History on the Edit page for that Item causes CPU usage to skyrocket to 100% and the memory usage to slowly spiral out of control. This was originally discovered in Instance A.
As you can see in the Slack post, I originally believed it had something to do with my Postgres tables. Modifying them did nothing, and
./bin/dspace database info
/test
returned no issues or errors. I had also initially believed that this had something to do with the fact that./bin/dspace healthcheck
would crash and give me Java/SQL error (I have attached that error loghere). That, along with the aforementioned Entities hunch, were both dispelled when I tried to reproduce the issue on Instance B and found that the exact same thing would occur.
The SSL log for Instance A does contain a lot of errors whose relevance I can't really determine to this particular issue, so for the sake of brevity, I will set them aside. Suffice it to say that the REST API backend is accessible at
url.com/server
.The
dspace.log
does not have anything that would obviously stand out to me as being an obvious source of the issue, but I can include that later if needed.To Reproduce
Expected Behavior
Like before, not hanging.
The text was updated successfully, but these errors were encountered: