×

File system queue

  • US 9,037,559 B2
  • Filed: 08/13/2012
  • Issued: 05/19/2015
  • Est. Priority Date: 08/13/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method ensuring processing of each file of a first collection of files in a shared file system by only one computer, of a plurality of computers, processing files from the first collection, the method comprising:

  • in each computer of the plurality of computers,(i) determining whether at least one file is available in the first collection of files by retrieving a list of files of the first collection of files from one location in the shared file system that is accessible to all computers of the plurality of computers;

    (ii) selecting a first file from the list of files, if it is determined that at least one file is available in the first collection of files;

    (iii) continuing to determine whether at least one file is available, if it is determined that no files are available in the first collection of files;

    (iv) responsive to selecting the first file, attempting to move the first file from the first collection of files for processing, wherein the move is an indivisible operation that succeeds for only one computer of two or more computers of the plurality of computers that concurrently attempt to move any given file;

    (v) responsive to attempting to move the first file, determining whether the attempt to move the first file was successful;

    (vi) processing content of the first file, only if the move operation was successful; and

    (vii) returning to step (i), if the move operation was not successful.

View all claims
  • 18 Assignments
Timeline View
Assignment View
    ×
    ×