# US 2021/0279251 A1 · Disaster recovery in a clustered environment using generation identifiers

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0279251 A1
- Document ID: US20210279251A1
- Status: Published application
- Kind: A1
- Application number: 17/228,429
- Filed: 2021-04-12
- Published: 2021-09-09
- Earliest claimed: 2012-05-15
- Assignees: Splunk Inc.
- Applicants: Splunk, Inc.
- Inventors: Da Xu; Sundar Vasan; Dhruva Kumar Bhagi
- Web page: https://patentgrep.com/patent/US20210279251A1

## CPC

- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 11/2097: {maintaining the standby controller/processing unit updated (initialisation or re-synchronisation thereof G06F11/1658 and subgroups)}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/3072: {where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting}
- G06F 11/32: with visual {or acoustical} indication of the functioning of the machine
- G06F 11/323: {Visualisation of programs or trace data}
- G06F 11/3409: {for performance assessment}
- G06F 11/3433: {for load management (allocation of a server based on load conditions G06F9/505; load rebalancing G06F9/5083; redistributing the load in a network by a load balancer H04L67/1029)}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 16/2272: {Management thereof}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F 3/0617: {in relation to availability}
- G06F 2201/815: Virtual
- G06F 2201/835: Timestamp
- G06F 2201/86: Event-based monitoring
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for performing disaster recovery in a clustered environment comprises identifying, at a master device, a first indexer from a set of indexers to serve as a primary indexer for responding to queries pertaining to a subset of data. The method also comprises assigning, at the master device, a generation identifier indicating that the first indexer is the primary indexer for the subset of data. Responsive to an event prompting a change in a primary indexer designation for the subset of data, the method comprises identifying, at the master device, a second indexer from the set of indexers to serve as the primary indexer for responding to queries pertaining to the subset of data. Further, the method comprises assigning, at the master device, a new generation identifier indicating that the second indexer is the primary indexer for the subset of data.

## Claims

### Claim at position 1

1-30. (canceled)

### Claim 31

A method, comprising:
identifying, at a master device from a set of indexers, a first indexer to serve as a primary indexer for responding to queries pertaining to a subset of data, wherein the primary indexer is operable to return results responsive to searching the subset of data based on the queries pertaining thereto;
assigning, at the master device, a generation identifier indicating that the first indexer is the primary indexer for the subset of data;
in response to an event prompting a change in a designation of the primary indexer for the subset of data:
identifying, at the master device from the set of indexers, a second indexer to serve as the primary indexer for responding to queries pertaining to the subset of data; and
assigning, at the master device, a new generation identifier indicating that the second indexer is the primary indexer for the subset of data.

### Claim 32 (depends on 31)

The method of claim 31, wherein the event prompting the change comprises an indication that the first indexer was determined to be non-responsive to a communication.

### Claim 33 (depends on 31)

The method of claim 31, wherein the event prompting the change comprises an indication that the first indexer has responsibility for a higher processing load relative to other indexers in the set of indexers.

### Claim 34 (depends on 31)

The method of claim 31, further comprising:
receiving, at the master device, a request for a current generation identifier; and
responding, at the master device, to the request with the new generation identifier.

### Claim 35 (depends on 31)

The method of claim 31, wherein the first indexer and the second indexer each concurrently store instances of the subset of data.

### Claim 36 (depends on 31)

The method of claim 31, wherein the assigning the new generation identifier comprises increasing a count associated with the generation identifier.

### Claim 37 (depends on 31)

The method of claim 31, wherein the subset of data comprises two or more events, and wherein an indexer in the set of indexers is configured to:
receive raw data;
segment the raw data into the two or more events;
determine, for each of the two or more events, a timestamp; and
store the two or more events in a data store that is searchable in response to a query.

### Claim 38 (depends on 31)

The method of claim 31, wherein the subset of data is stored in one of several buckets maintained by the first indexer.

### Claim 39 (depends on 31)

The method of claim 31, further comprising, responsive to the assigning the generation identifier indicating that the first indexer is the primary indexer for the subset of data, the first indexer receiving the generation identifier designating the first indexer as the primary indexer for the subset of data.

### Claim 40 (depends on 31)

The method of claim 31, further comprising, responsive to the assigning the new generation identifier indicating that the second indexer is the primary indexer for the subset of data, the second indexer receiving the new generation identifier designating the second indexer as the primary indexer for the subset of data.

### Claim 41 (depends on 31)

The method of claim 31, further comprising, while the first indexer is serving as the primary indexer for the subset of data, the first indexer concurrently storing other data for which it is not designated as the primary indexer.

### Claim 42 (depends on 31)

The method of claim 31, wherein the event prompting the change comprises a notification that a new indexer has been added to the set of indexers.

### Claim 43 (depends on 31)

The method of claim 31, wherein the event prompting the change comprises the master device initializing.

### Claim 44 (depends on 31)

The method of claim 31, wherein the event prompting the change comprises an indication that an indexer from the set of indexers has failed.

### Claim 45 (depends on 31)

The method of claim 31, further comprising:
responsive to receiving a request from a search head at the master device, transmitting a current generation identifier to the search head, wherein the search head is configured to distribute the queries pertaining to the subset of data to the set of indexers.

### Claim 46 (depends on 31)

The method of claim 31, wherein the generation identifier comprises a generation mapping, and wherein, for the subset of data, the generation mapping indicates which of the set of indexers is a primary indexer and which indexers of the set of indexers are secondary indexers.

### Claim 47

A non-transitory computer-readable medium storing computer-executable instructions which, when executed by a processor, cause the processor to perform operations comprising:
identifying, at a master device from a set of indexers, a first indexer to serve as a primary indexer for responding to queries pertaining to a subset of data, wherein the primary indexer is operable to return results responsive to searching the subset of data based on the queries pertaining thereto;
assigning, at the master device, a generation identifier indicating that the first indexer is the primary indexer for the subset of data;
in response to an event prompting a change in a designation of the primary indexer for the subset of data:
identifying, at the master device from the set of indexers, a second indexer to serve as the primary indexer for responding to queries pertaining to the subset of data; and
assigning, at the master device, a new generation identifier indicating that the second indexer is the primary indexer for the subset of data.

### Claim 48 (depends on 43)

The non-transitory computer-readable medium of claim 43, wherein the event prompting the change comprises an indication that the first indexer was determined to be non-responsive to a communication.

### Claim 49 (depends on 43)

The non-transitory computer-readable medium of claim 43, wherein the event prompting the change comprises an indication that the first indexer has responsibility for a higher processing load relative to other indexers in the set of indexers.

### Claim 50

A system comprising:
at least one memory storing computer-executable instructions; and
at least one processor, wherein the at least one processor is configured to access the at least one memory and to execute the computer-executable instructions to:
identify, at a master device from a set of indexers, a first indexer to serve as a primary indexer for responding to queries pertaining to a subset of data, wherein the primary indexer is operable to return results responsive to searching the subset of data based on the queries pertaining thereto;
assign, at the master device, a generation identifier indicating that the first indexer is the primary indexer for the subset of data;
in response to an event prompting a change in a designation of the primary indexer for the subset of data:
identify, at the master device from the set of indexers, a second indexer to serve as the primary indexer for responding to queries pertaining to the subset of data; and
assign, at the master device, a new generation identifier indicating that the second indexer is the primary indexer for the subset of data.
