metacat icon indicating copy to clipboard operation
metacat copied to clipboard

Keep data objects' identifiers on the identifier table on CNs

Open taojing2002 opened this issue 6 years ago • 6 comments
trafficstars

Currently on the CNs, the data objects' identifier are not stored on the identifier table since CNs doesn't synchronize the data objects. Chris thinks we should keep them there since the identifier table is the only place we hold all object's identifiers. The systemmetadata table is not the place since the delete method can remove items from there.

taojing2002 avatar May 02 '19 22:05 taojing2002

I agree.

mbjones avatar May 06 '19 15:05 mbjones

We are going to remove the identifier table on 3.0.0

taojing2002 avatar Dec 02 '22 00:12 taojing2002

@taojing2002 can you elaborate on why you are removing that identifiers table? It strikes me as being important, and that your action here does not solve the problem described in your ticket. More info would help me understand. Thanks.

mbjones avatar Dec 02 '22 23:12 mbjones

@mbjones I was thinking the one function of the identifier table is to figure out the internal docid, then figured out the object file location. This function will be obsoleted when we use the checksum approach in the 3.0.0 release. So I thought we didn't need the table any more. However, I forgot we need the identifier table to keep the list of all identifiers no matter they still exist or haven't been deleted. So I am going to reopen the ticket.

taojing2002 avatar Dec 02 '22 23:12 taojing2002

That's exactly what I was thinking too for why we needed the table still, so I think we are on the same page now. Thanks for clarifying.

mbjones avatar Dec 06 '22 18:12 mbjones

We can keep it as is.

taojing2002 avatar Sep 07 '23 18:09 taojing2002