Hi. My Catalog gets stuck on optimizing process after a major crash (kernel attack and force-restarted). The crash happened when I was editing keywords in Keyword List. Prior to the crash, I was optimizing the catalog whenever I felt it was slow, like once a month or so. It can complete the Test Integrity of this Catalog without any issues. The Catalog is slow but it seems to be functioning fine. The Catalog file is on the start up SSD drive on my MacBook Pro and images are on external HD. After the crash, I run the Disk Utility on the SSD drive and found no issues. CPU usage was high for the first 50 min of the optimization, then went down to single digit, so it seems the optimizing process was finished. However, the Optimizing Catalog window was stuck, and cancel button won't do anything, either. The window was just stuck. My only choice was to force-quite the Lightroom. Is the Catalog corrupted? Any help would be greatly appreciated.
Lightroom Classic v.12. 0. 1
Catalog: about 18GB contains about 600K images
MacBook Pro (15 inch 2018) 2.2 GHz 6-Core Intel Core i7 w/ 32GB memory, SSD 2TB (870GB free space)
OS Monterey 12.5.1