You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the MLC indexes are recreated when we start an MLC command. It'll be good to do a persistent index to speed up the execution of multiple MLC commands in sequence.
The text was updated successfully, but these errors were encountered:
I would like to provide some suggestions for addressing this issue:
Problem Statement:
If we keep the MLC indexes(index_script.json) persistent then it should also handle the situations when we make any kind of changes in the script's tags, paths etc. it should also get reflected in the already generated index_script.json.
Suggested Solutions
Using Persistent MLC Index with Timestamp Validation:
Store a last-modified timestamp for each index in the index_script.json.
Before using the persistent index, validate if the stored timestamps match the actual file system timestamps.
If there's a mismatch, regenerate the index. If not, use the already generated index.
In this way, I believe that we could avoid regenerating every index and instead, we could modify only the changed index.
Incremental Index Updates:
Instead of recreating the entire index, detect changes (additions, deletions, or modifications) in the directory by tracking the file changes from the system and only update the affected parts of the index_script.json.
This minimizes processing overhead while maintaining consistency.
Currently the MLC indexes are recreated when we start an MLC command. It'll be good to do a persistent index to speed up the execution of multiple MLC commands in sequence.
The text was updated successfully, but these errors were encountered: