ubc-systopia / Indaleko

Indaleko Project
GNU Affero General Public License v3.0
0 stars 1 forks source link

Need to move object UUID creation into the indexer, rather than the ingester #47

Open fsgeek opened 7 months ago

fsgeek commented 7 months ago

The rationale for this is that we want to have multiple ingesters, but if the UUID is defined by one of the ingesters, the others become dependent upon that ingester.

The solution is to move the UUID generation out of the local ingester and put it into the local indexer. Then an ingester can depend just on the indexer file to generate additional ingest information.

fsgeek commented 6 months ago

Added commit db9779b to generate the UUID in the base indexer class. Still need to change ingester to use it if it is present.

fsgeek commented 6 months ago

Commit 8bafb75 handles an issue during testing where the st_birthtime field wasn't present. I have changed it to handle the instance where any time field is not present. The change I made previously (for Windows) that uses the UUID is working as expected. Hopefully it will work for the other platforms as easily.