Deleting content in a distributed computing environment
First Claim
Patent Images
1. A method for deleting content comprising:
- receiving at a first node a delete request for a file, a primary copy of which is stored on each of at least a subset of a plurality of nodes, wherein at least one other node of the plurality of nodes has received the delete request for the file;
replacing the file at the first node with a first delete token, the first delete token comprising data identifying one or more nodes comprising the plurality of nodes on which a primary copy of the file is stored;
determining at a second node of the plurality of nodes that the second node does not have a record of the file;
in response at least in part to a determination by the second node that at least some other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens, adding a first delete token for the file in records associated with the second node;
determining, based at least in part on the first node receiving successful responses from all other nodes in the plurality of nodes in response to the request, that all other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens;
in response at least in part to the determination that all other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens;
causing an entry associated with the file to be removed from a distributed index by the first node; and
replacing the first delete token at the first node with a second delete token;
determining by the first node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens;
in response to the determination by the first node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens, removing the second delete token from the first node;
determining by the second node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens; and
in response to the determination by the second node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens, not adding a second delete token for the file in the records associated with the second node.
3 Assignments
0 Petitions
Accused Products
Abstract
Deleting content is disclosed. A delete request is received for a file that is distributed with a plurality of nodes. The file is replaced with a first delete token. A determination is made as to whether all nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens. The file is deleted.
45 Citations
21 Claims
-
1. A method for deleting content comprising:
-
receiving at a first node a delete request for a file, a primary copy of which is stored on each of at least a subset of a plurality of nodes, wherein at least one other node of the plurality of nodes has received the delete request for the file; replacing the file at the first node with a first delete token, the first delete token comprising data identifying one or more nodes comprising the plurality of nodes on which a primary copy of the file is stored; determining at a second node of the plurality of nodes that the second node does not have a record of the file; in response at least in part to a determination by the second node that at least some other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens, adding a first delete token for the file in records associated with the second node; determining, based at least in part on the first node receiving successful responses from all other nodes in the plurality of nodes in response to the request, that all other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens; in response at least in part to the determination that all other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens; causing an entry associated with the file to be removed from a distributed index by the first node; and replacing the first delete token at the first node with a second delete token; determining by the first node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens; in response to the determination by the first node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens, removing the second delete token from the first node; determining by the second node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens; and in response to the determination by the second node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens, not adding a second delete token for the file in the records associated with the second node. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for deleting content, comprising:
-
a processor configured to; receive at a first node a delete request for a file, a primary copy of which is stored on each of at least a subset of a plurality of nodes, wherein at least one other node of the plurality of nodes has received the delete request for the file; replace the file at the first node with a first delete token, the first delete token comprising data identifying one or more nodes comprising the plurality of nodes on which a primary copy of the file is stored; determine at a second node of the plurality of nodes that the second node does not have a record of the file; in response at least in part to a determination by the second node that at least some other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens, add a first delete token for the file in records associated with the second node; determine, based at least in part on the first node receiving successful responses from all other nodes in the plurality of nodes in response to the request, that all other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens; in response at least in part to the determination that all other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens; cause an entry associated with the file to be removed from a distributed index by the first node; and replace the first delete token at the first node with a second delete token; determine by the first node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens; in response to the determination by the first node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens, remove the second delete token from the first node; determine by the second node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens; and in response to the determination by the second node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens, do not add a second delete token for the file in the records associated with the second node; and a memory coupled to the processor and configured to provide the processor with instructions. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product for deleting content, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
-
receiving at a first node a delete request for a file, a primary copy of which is stored on each of at least a subset of a plurality of nodes, wherein at least one other node of the plurality of nodes has received the delete request for the file; replacing the file at the first node with a first delete token, the first delete token comprising data identifying one or more nodes comprising the plurality of nodes on which a primary copy of the file is stored; determining at a second node of the plurality of nodes that the second node does not have a record of the file; in response at least in part to a determination by the second node that at least some other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens, adding a first delete token for the file in records associated with the second node; determining, based at least in part on the first node receiving successful responses from all other nodes in the plurality of nodes in response to the request, that all other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens; in response at least in part to the determination that all other nodes in the plurality of nodes have replaced their respective copies of the file with first delete tokens; causing an entry associated with the file to be removed from a distributed index by the first node; and replacing the first delete token at the first node with a second delete token; determining by the first node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens; in response to the determination by the first node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens, removing the second delete token from the first node; determining by the second node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens; and in response to the determination by the second node that at least some other nodes in the plurality of nodes have replaced their respective first delete tokens with second delete tokens, not adding a second delete token for the file in the records associated with the second node. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification