You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/components/schemas.yaml
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -994,9 +994,11 @@ Database:
994
994
type: string
995
995
cache:
996
996
type: object
997
+
x-requirePropertiesSorted: true
997
998
properties:
998
999
channel_cache:
999
1000
description: The channel cache config settings.
1001
+
x-requirePropertiesSorted: true
1000
1002
type: object
1001
1003
properties:
1002
1004
compact_high_watermark_pct:
@@ -1017,10 +1019,6 @@ Database:
1017
1019
When the cache size, determined by `max_number` returns to a value lower than the percentage of it set here, the cache eviction process is stopped.
1018
1020
type: integer
1019
1021
default: 60
1020
-
enable_star_channel:
1021
-
description: Used to control whether Sync Gateway should use the all documents (*) channel.
1022
-
type: boolean
1023
-
default: true
1024
1022
expiry_seconds:
1025
1023
description: The amount of time (in seconds) to keep entries in the cache beyond the minimum retained.
1026
1024
type: integer
@@ -1049,6 +1047,13 @@ Database:
1049
1047
description: The minimum number of entries to maintain in the cache per channel.
1050
1048
type: integer
1051
1049
default: 50
1050
+
enable_star_channel:
1051
+
description: |-
1052
+
Since Sync Gateway 4.0, this option no longer has an effect, the star channel is always enabled.
1053
+
If this value is set to false, a database can only exist in the offline state until this configuration is modified.
1054
+
type: boolean
1055
+
default: true
1056
+
deprecated: true
1052
1057
query_limit:
1053
1058
description: |-
1054
1059
**Deprecated in favour of the database setting `query_pagination_limit`**
@@ -1742,12 +1747,16 @@ Database:
1742
1747
type: integer
1743
1748
default: 75
1744
1749
allow_conflicts:
1745
-
description: This controls whether to allow conflicting document revisions. This option is going to be removed from sync gateway, and conflicts will not be allowed.
1750
+
description: |-
1751
+
Since Sync Gateway 4.0, this option has no effect.
1752
+
If this option is set to true on an existing database, the database must be modified to remove this parameter in order allow the database to come online. Otherwise, the database will be in the offline state.
1746
1753
type: boolean
1747
1754
default: false
1748
1755
deprecated: true
1749
1756
enable_shared_bucket_access:
1750
-
description: Whether to use extended attributes to store Sync Gateway document (`_sync`) metadata.
1757
+
description: |-
1758
+
Since Sync Gateway 4.0, this option has no effect.
1759
+
If this option is set to true on an existing database, the database must be modified to remove this parameter in order allow the database to come online. Otherwise, the database will be in the offline state.
0 commit comments