@@ -18,45 +18,55 @@ For detailed instructions on installing v2.7, visit [ArtifactHub](https://artifa
1818For details, see[ Upgrade to 2.7 in ArtifactHub] ( https://artifacthub.io/packages/helm/codefresh-onprem/codefresh#to-2-7-0 ) {: target ="\_ blank"}
1919
2020** New indexes**
21- We added a new` feature-store-versioned ` collection which requires** two new indexes** forgood performance .
22- You must create the indexes listed below_ ** right after** upgrading _ to prevent disruption and avoid performance issues.
21+ We added a new` feature-store-versioned ` collection which requires** two new indexes** forproper operation .
22+ You must create the indexes listed below_ ** before or right after** the upgrade _ to prevent disruption and avoid performance issues.
2323
2424####New indexes in v2.7
2525
26- You must create the indexes listed below** right afterupgrading ** to prevent disruption and avoid performance issues.
26+ You must create the indexes listed below** before or right afterthe upgrade ** to prevent disruption and avoid performance issues.
2727
28- #####createdAt_1
28+ {{site.data.callout.callout_warning}}
29+ ** WARNING**
2930
30- ` createdAt_1 ` (db: ` codefresh ` ; collection: ` feature-store-versioned ` )
31+ If you create indexes before the upgrade, please, create ** codefresh. feature-store-versioned** collection in advance.
3132
32- * ** Index details **
33+ E.g., using mongo shell script below:
3334
34- ``` json
35- {
36- "createdAt" :1
37- }
35+ ``` js
36+ use codefresh;
37+ db .createCollection (' feature-store-versioned' );
3838```
39- * ** Index properties **
39+ {{site.data.callout.end}}
4040
41- ``` json
42- {
43- "expireAfterSeconds" :43200
44- }
45- ```
4641
47- #####LDRedisStoreVersion_1__ id_ -1
42+ #####codefresh.feature-store-versioned
43+
44+ DB:` codefresh `
4845
49- ` LDRedisStoreVersion_1__id_-1 ` (db :` codefresh ` ; collection: ` feature-store-versioned ` )
46+ Collection :` feature-store-versioned `
5047
51- * ** Index details **
48+ Required indexes:
5249
5350``` json
51+ // Index keys:
5452{
55- "LDRedisStoreVersion" :1 ,
56- "_id" :-1
53+ "createdAt" :1
54+ },
55+ // Index options:
56+ {
57+ "expireAfterSeconds" :43200
5758}
5859```
5960
61+ ``` json
62+ // Index keys:
63+ {
64+ "LDRedisStoreVersion" :1 ,
65+ "_id" :-1
66+ },
67+ // Index options:
68+ {}
69+ ```
6070
6171###Features & enhancements
6272
@@ -213,25 +223,25 @@ The index list is in `codefresh/files/indexes/<MAJOR.MINOR>/<collection_name>.js
213223<br>
214224
215225# ### New index for image-binaries
226+
216227We have introduced a new index for the `image-binaries` collection.
217228If you are upgrading to this version, you must create the index _before upgrading_ to prevent disruption and avoid performance issues.
218229
219- # ####Create index
230+ # ####codefresh.image-binaries
220231
221- `accountId_1_imageName_1` (db :` codefresh` ; collection: `image-binaries`)
232+ DB :` codefresh`
222233
223- # #### Index details
234+ Collection :` image-binaries`
235+
236+ Required indexes :
224237
225238` ` ` json
239+ // Index keys:
226240{
227241 "accountId": 1,
228242 "imageName": 1
229- }
230- ` ` `
231-
232- # #### Index properties
233-
234- ` ` ` json
243+ },
244+ // Index options:
235245{
236246 "collation": {
237247 "locale": "en_US",