Skip to content

Commit ea6f9cf

Browse files
authored
DOCSP-40390: Client max offline time can no longer be disabled (#809)
Client max offline time can no longer be disabled
1 parent 2469971 commit ea6f9cf

File tree

3 files changed

+16
-26
lines changed

3 files changed

+16
-26
lines changed
-48.4 KB
Loading

source/reference/partition-based-sync.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Partition-Based Sync
77
====================
88

99
.. facet::
10-
:name: genre
10+
:name: genre
1111
:values: reference
1212

13-
.. meta::
13+
.. meta::
1414
:description: Find information about the older sync mode for Atlas Device Sync, Partion-Based Sync.
1515

1616
.. contents:: On this page
@@ -24,11 +24,11 @@ the older Partition-Based Sync. Partition-Based Sync has been deprecated and is
2424
disallowed for new Sync configurations.
2525

2626
The information on this page is for users who are still using Partition-Based
27-
Sync.
27+
Sync.
2828

2929
.. note:: Migrate from Partition-Based Sync to Flexible Sync
3030

31-
We recommend migrating Partition-Based Sync apps to
31+
We recommend migrating Partition-Based Sync apps to
3232
Flexible Sync. For more information on migration, refer to :ref:`realm-sync-migrate-modes`.
3333

3434
Key Concepts
@@ -358,8 +358,7 @@ Procedure
358358
- :ref:`Client Recovery <recover-unsynced-changes>`
359359

360360
If you want to change the length of time that a client can be
361-
offline, or disable either of these features, you can do so
362-
in the :guilabel:`Advanced Configuration` section.
361+
offline, you can do so in the :guilabel:`Advanced Configuration` section.
363362

364363
.. step:: Turn On Sync
365364

source/sync/go-to-production/optimize-sync-atlas-usage.txt

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ value of 30 days.
6767

6868
Client maximum offline time enables trimming for
6969
older history. This permanently changes affected
70-
history, and can cause client resets in the future even after
71-
disabling the feature.
70+
history and can cause client resets in the future.
7271

7372
Key Concepts
7473
~~~~~~~~~~~~
@@ -109,11 +108,7 @@ client reset. Existing history has already been changed by trimming,
109108
requiring a client reset. New history needs time to accumulate up to
110109
the new client maximum offline time.
111110

112-
Disabling the client maximum offline time feature stops additional
113-
trimming, but history that has already been changed by
114-
trimming will permanently cause client resets in clients.
115-
116-
Decreasing client maximum offline time also does not *immediately*
111+
Decreasing client maximum offline time does not *immediately*
117112
change the length of time before clients experience a client reset.
118113
Client resets begin taking place earlier once the regularly scheduled
119114
trimming job applies trimming to the newly
@@ -129,23 +124,21 @@ Set the Client Maximum Offline Time
129124
.. tab::
130125
:tabid: ui
131126

132-
1. Select the :guilabel:`Device Sync` menu in the sidebar.
127+
1. From the App Services UI, click :guilabel:`Device Sync` menu in the
128+
sidebar. The :guilabel:`Dashboard` tab displays by default.
133129

134-
#. Under :guilabel:`Sync Type`, make sure :guilabel:`Flexible` is selected.
130+
#. Click the :guilabel:`Configuration` tab.
135131

136-
#. Scroll down to the :guilabel:`Advanced Configuration (optional)` dropdown.
137-
Click the dropdown to open.
132+
#. Scroll down to the :guilabel:`Advanced Configuration (optional)`
133+
section, and click the dropdown to expand the section.
138134

139135
.. figure:: /images/client-max-offline-time.png
140136
:width: 750px
141-
:alt: The client maximum offline time configuration in a disabled state.
142-
143-
#. Under the :guilabel:`Client Max Offline Time` section, click
144-
the :guilabel:`Enable Max Offline Time` toggle.
137+
:alt: Advanced Configuration section in the App Services UI
145138

146-
#. Specify a number of days for your application's client maximum
147-
offline time. The default value is 30 days. The minimum value is
148-
1.
139+
#. Under the :guilabel:`Client Max Offline Time` section, specify a number
140+
of days for your application's client maximum offline time. The default
141+
value is 30 days. The minimum value is 1.
149142

150143
#. Click the :guilabel:`Save Changes` button at the bottom of the screen
151144
once you are ready to save.
@@ -251,8 +244,6 @@ Summary
251244
- Trimming reduces the space usage for Flexible Sync apps, but can cause client resets
252245
for clients who have not connected to the backend in more than
253246
the client maximum offline time (in days).
254-
- Flexible Sync apps that have disabled a client maximum offline time do not apply trimming,
255-
so clients of any age can sync without experiencing a client reset.
256247
- Adding additional queryable fields to a flexible sync configuration
257248
will increase storage consumed on an Atlas Cluster. Using broad queries
258249
and selecting fewer fields that support broad queries decreases storage consumed.

0 commit comments

Comments
 (0)