File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,30 @@ def results(self):
86
86
87
87
88
88
class StoragePartition (NewBaseModel ):
89
+ """
90
+ The StoragePartition model object allows you to load and unload Time Paritioning "cores" into the Cb Response server
91
+ through the API. This model is only available in Cb Response server versions 6.0 and above.
92
+ Cb Response will roll-over data into new Solr partition periodically (based on configuration) in order to improve
93
+ performance and data retention.
94
+
95
+ Partitions can be:
96
+
97
+ Hot: There is always exactly one hot partition. It is called "writer" (configurable).
98
+ All new data goes to the writer partition. Hot partition can be searched.
99
+
100
+ Warm: Warm partition is any mounted partition that is not currently written to. Warm partitions can be searched.
101
+ Warm partition are named as "cbevents_<timestmp>" where timestamp is time when partition was created in format
102
+ "YYYY_MM_DD_hhmm". Timestamp can be followed by suffix in format "_<suffix>" which will be ignored and can be used
103
+ to specify additional partition information. Here are examples of valid partition names:
104
+ cbevents_2016_06_11_1351
105
+ cbevents_2016_06_11_1351_foo
106
+ cbevents_2016_06_11_1351_this_is_partition_from_old_server
107
+
108
+ Cold: Cold partition is any partition that is not mounted to Solr, but exists only on disk. Cold partitions can not
109
+ be searched, but can be mounted (converted into warm partitions)
110
+
111
+ Deleted: Deleted partition is removed from disk and can no longer be looked up or restored
112
+ """
89
113
urlobject = "/api/v1/storage/events/partition"
90
114
primary_key = "name"
91
115
You can’t perform that action at this time.
0 commit comments