摘要 |
PROBLEM TO BE SOLVED: To provide an information recording method, an information recording device, and a program capable of performing data registration and search process in parallel while performing efficient chunk generation based on a two-step chunk generation method and having such a characteristic that, especially even in the middle of a search process requiring a long time, data registration can be completed in a short time.SOLUTION: An information recording method includes: securing a main lock, acquiring a list of files to be searched by using index information, securing a sub-lock, adding the identifiers of files for which the list was acquired to a reference count list, releasing the sub-lock and the main lock, deleting a file in which a deletion schedule flag is turned on after re-securing the main lock or the sub-lock, deleting the corresponding entry, releasing the sub-lock or the main lock, and turning on a deletion schedule flag corresponding to the identifier of a file to be deleted. |