Skip to content

Commit f4c4af1

Browse files
authored
Merge pull request #2173 from reebhub/fixPostMigrationErrors
Fix post migration errors
2 parents 94350e5 + 2a39a16 commit f4c4af1

File tree

8 files changed

+145
-159
lines changed

8 files changed

+145
-159
lines changed

docs/server/troubleshooting/debug-routes.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@ For the endpoints that begin with `/databases/*/`, replace `*` with the name of
3434
| /admin/debug/cpu/stats | GET | | Returns RavenDB's processor usage and thread pool status | |
3535
| /admin/debug/info-package | GET | | Save debug package information for later analysis | |
3636
| /admin/debug/memory/low-mem-log | GET | | Low memory events report | |
37-
| /admin/debug/memory/smaps | GET | | Returns all of RavenDB's process mappings including shared/private clean/dirty memory allocations | Availabe only on Linux |
37+
| /admin/debug/memory/smaps | GET | | Returns all of RavenDB's process mappings including shared/private clean/dirty memory allocations | Available only on Linux |
3838
| /admin/debug/memory/stats | GET | | Full report of memory usage including un/managed usage by thread and free memory status | |
3939
| /admin/debug/node/engine-logs | GET | | Rachis logs | |
40-
| /admin/debug/node/ping | GET | -(Optional) url-<br /> -(Optional)node-<br />For specifying the node by url or node tag | Test the ability to reach the server | |
40+
| /admin/debug/node/ping | GET | <ul><li> `url` (Optional)<br /></li><li> `node` (Optional)</li></ul>Specifies the node by url or node tag | Test the ability to reach the server | |
4141
| /admin/debug/node/remote-connections | GET | | Returns connections' details of members and watchers in the cluster | |
4242
| /admin/debug/node/state-change-history | GET | | List the node's state transition history in the cluster | |
43-
| /admin/debug/proc/meminfo | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/meminfo | Availabe only on Linux |
44-
| /admin/debug/proc/stats | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/stats | Availabe only on Linux |
45-
| /admin/debug/proc/status | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/status | Availabe only on Linux |
43+
| /admin/debug/proc/meminfo | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/meminfo | Available only on Linux |
44+
| /admin/debug/proc/stats | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/stats | Available only on Linux |
45+
| /admin/debug/proc/status | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/status | Available only on Linux |
4646
| /admin/debug/threads/runaway | GET | | List all threads and their names, sorted by duration | |
4747
| /build/version | GET | | Returns product build number, major version, commit hash and full version number | |
48-
| /databases/*/admin/debug/cluster/txinfo | GET | -(Optional) from - Amount of result to skip&lt;br /&gt; -(Optional)take - Amount of result to take | List the incomplete [cluster transaction commands](../clustering/cluster-transactions.mdx#cluster--cluster-wide-transactions) | |
48+
| /databases/*/admin/debug/cluster/txinfo | GET | <ul><li>`from` (Optional)<br />Number of results to skip</li><li>`take` (Optional)<br />Number of results to take</li></ul> | List the incomplete [cluster transaction commands](../clustering/cluster-transactions.mdx#cluster--cluster-wide-transactions) | |
4949
| /databases/*/admin/debug/txinfo | GET | | List | |
50-
| /databases/*/debug/documents/huge | GET | | List IDs of documents which exceed `PerformanceHints.`&lt;br /&gt;`Documents.`&lt;br /&gt;`HugeDocumentSizeInMb` setting | |
50+
| /databases/*/debug/documents/huge | GET | | List IDs of documents which exceed `PerformanceHints.`<br />`Documents.`<br />`HugeDocumentSizeInMb` setting | |
5151
| /databases/*/debug/identities | GET | | | |
5252
| /databases/*/debug/info-package | GET | | Save debug package information for later analysis | |
5353
| /databases/*/debug/io-metrics | GET | | Get current IO metrics: "Writes, Flush, Sync" for each storage environment | |

docs/studio/database/tasks/ongoing-tasks/external-replication-task.mdx

Lines changed: 30 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -43,49 +43,43 @@ import LanguageContent from "@site/src/components/LanguageContent";
4343
* [Offline Behavior](../../../../studio/database/tasks/ongoing-tasks/external-replication-task.mdx#offline-behavior)
4444

4545
</Admonition>
46-
## General Information about External Replication Task
47-
48-
**What is being replicated:**
49-
50-
* All database documents and related data:
51-
* [Attachments](../../../../document-extensions/attachments/what-are-attachments.mdx)
52-
* [Revisions](../../../../document-extensions/revisions/overview.mdx)
53-
* [Counters](../../../../document-extensions/counters/overview.mdx)
54-
* [Time Series](../../../../document-extensions/timeseries/overview.mdx)
55-
**What is _not_ being replicated:**
56-
57-
* Server and cluster level features:
58-
* [Indexes](../../../../indexes/creating-and-deploying.mdx)
59-
* [Conflict resolver definitions](../../../../server/clustering/replication/replication-conflicts.mdx#conflict-resolution-script)
60-
* [Compare-Exchange](../../../../client-api/operations/compare-exchange/overview.mdx)
61-
* [Subscriptions](../../../../client-api/data-subscriptions/what-are-data-subscriptions.mdx)
62-
* [Identities](../../../../server/kb/document-identifier-generation.mdx#strategy--3)
63-
* Ongoing tasks
64-
* [ETL](../../../../server/ongoing-tasks/etl/basics.mdx)
65-
* [Backup](../../../../studio/database/tasks/backup-task.mdx)
66-
* [Hub/Sink Replication](../../../../studio/database/tasks/ongoing-tasks/hub-sink-replication/overview.mdx)
67-
68-
<Admonition type="note" title="">
69-
70-
**Why are cluster-level features not replicated?**
7146

72-
RavenDB is designed with a cluster-level data ownership model to prevent conflicts between clusters,
73-
especially in scenarios where ACID transactions are critical.
74-
75-
This approach ensures that certain features, such as policies, configurations, and ongoing tasks,
76-
remain specific to each cluster, avoiding potential inconsistencies.
77-
78-
To explore this concept further, refer to the [Data Ownership in a Distributed System](https://ayende.com/blog/196769-B/data-ownership-in-a-distributed-system) blog post.
47+
## General Information about External Replication Task
7948

80-
</Admonition>
81-
**Conflicts:**
49+
<u>What is being replicated:</u>
50+
All database documents and related data.
51+
* [Attachments](../../../../document-extensions/attachments/what-are-attachments.mdx)
52+
* [Revisions](../../../../document-extensions/revisions/overview.mdx)
53+
* [Counters](../../../../document-extensions/counters/overview.mdx)
54+
* [Time Series](../../../../document-extensions/timeseries/overview.mdx)
55+
56+
<u>What is **not** being replicated:</u>
57+
Server and cluster level features.
58+
* [Indexes](../../../../indexes/creating-and-deploying.mdx)
59+
* [Conflict resolver definitions](../../../../server/clustering/replication/replication-conflicts.mdx#conflict-resolution-script)
60+
* [Compare-Exchange](../../../../client-api/operations/compare-exchange/overview.mdx)
61+
* [Subscriptions](../../../../client-api/data-subscriptions/what-are-data-subscriptions.mdx)
62+
* [Identities](../../../../server/kb/document-identifier-generation.mdx#strategy--3)
63+
* Ongoing tasks
64+
* [ETL](../../../../server/ongoing-tasks/etl/basics.mdx)
65+
* [Backup](../../../../studio/database/tasks/backup-task.mdx)
66+
* [Hub/Sink Replication](../../../../studio/database/tasks/ongoing-tasks/hub-sink-replication/overview.mdx)
67+
68+
<Admonition type="note" title="Why are cluster-level features not replicated?" id="why-are-cluster-level-features-not-replicated" href="#why-are-cluster-level-features-not-replicated">
69+
RavenDB is designed with a cluster-level data ownership model to prevent conflicts between clusters,
70+
especially in scenarios where ACID transactions are critical.
71+
72+
This approach ensures that certain features, such as policies, configurations, and ongoing tasks,
73+
remain specific to each cluster, avoiding potential inconsistencies.
74+
75+
To explore this concept further, refer to the [Data Ownership in a Distributed System](https://ayende.com/blog/196769-B/data-ownership-in-a-distributed-system) blog post.
76+
</Admonition>
8277

78+
<u>Conflicts:</u>
8379
* Two databases that have an External Replication task defined between them will detect and resolve document
8480
[conflicts](../../../../server/clustering/replication/replication-conflicts.mdx) according to each database conflict resolution policy.
8581
* It is recommended to have the same [conflict resolution policy configuration](../../../../server/clustering/replication/replication-conflicts.mdx#configuring-conflict-resolution-using-the-client) on both the source and the target databases.
8682

87-
88-
8983
## Step-by-Step Guide
9084

9185
1. **Pass Certificate from Source Server to Destination Server**

versioned_docs/version-6.0/server/troubleshooting/debug-routes.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ For the endpoints that begin with `/databases/*/`, replace `*` with the name of
3434
| /admin/debug/cpu/stats | GET | | Returns RavenDB's processor usage and thread pool status | |
3535
| /admin/debug/info-package | GET | | Save debug package information for later analysis | |
3636
| /admin/debug/memory/low-mem-log | GET | | Low memory events report | |
37-
| /admin/debug/memory/smaps | GET | | Returns all of RavenDB's process mappings including shared/private clean/dirty memory allocations | Availabe only on Linux |
37+
| /admin/debug/memory/smaps | GET | | Returns all of RavenDB's process mappings including shared/private clean/dirty memory allocations | Available only on Linux |
3838
| /admin/debug/memory/stats | GET | | Full report of memory usage including un/managed usage by thread and free memory status | |
3939
| /admin/debug/node/engine-logs | GET | | Rachis logs | |
40-
| /admin/debug/node/ping | GET | -(Optional) url-&lt;br /&gt; -(Optional)node-&lt;br /&gt;For specifying the node by url or node tag | Test the ability to reach the server | |
40+
| /admin/debug/node/ping | GET | <ul><li> `url` (Optional)<br /></li><li> `node` (Optional)</li></ul>Specifies the node by url or node tag | Test the ability to reach the server | |
4141
| /admin/debug/node/remote-connections | GET | | Returns connections' details of members and watchers in the cluster | |
4242
| /admin/debug/node/state-change-history | GET | | List the node's state transition history in the cluster | |
43-
| /admin/debug/proc/meminfo | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/meminfo | Availabe only on Linux |
44-
| /admin/debug/proc/stats | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/stats | Availabe only on Linux |
45-
| /admin/debug/proc/status | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/status | Availabe only on Linux |
43+
| /admin/debug/proc/meminfo | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/meminfo | Available only on Linux |
44+
| /admin/debug/proc/stats | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/stats | Available only on Linux |
45+
| /admin/debug/proc/status | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/status | Available only on Linux |
4646
| /admin/debug/threads/runaway | GET | | List all threads and their names, sorted by duration | |
4747
| /build/version | GET | | Returns product build number, major version, commit hash and full version number | |
48-
| /databases/*/admin/debug/cluster/txinfo | GET | -(Optional) from - Amount of result to skip&lt;br /&gt; -(Optional)take - Amount of result to take | List the incomplete [cluster transaction commands](../clustering/cluster-transactions.mdx#cluster--cluster-wide-transactions) | |
48+
| /databases/*/admin/debug/cluster/txinfo | GET | <ul><li>`from` (Optional)<br />Number of results to skip</li><li>`take` (Optional)<br />Number of results to take</li></ul> | List the incomplete [cluster transaction commands](../clustering/cluster-transactions.mdx#cluster--cluster-wide-transactions) | |
4949
| /databases/*/admin/debug/txinfo | GET | | List | |
5050
| /databases/*/debug/documents/huge | GET | | List IDs of documents which exceed `PerformanceHints.`&lt;br /&gt;`Documents.`&lt;br /&gt;`HugeDocumentSizeInMb` setting | |
5151
| /databases/*/debug/identities | GET | | | |

versioned_docs/version-6.0/studio/database/tasks/ongoing-tasks/external-replication-task.mdx

Lines changed: 30 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -43,42 +43,39 @@ import LanguageContent from "@site/src/components/LanguageContent";
4343
* [Offline Behavior](../../../../studio/database/tasks/ongoing-tasks/external-replication-task.mdx#offline-behavior)
4444

4545
</Admonition>
46-
## General Information about External Replication Task
47-
48-
**What is being replicated:**
49-
50-
* All database documents and related data:
51-
* [Attachments](../../../../document-extensions/attachments/what-are-attachments.mdx)
52-
* [Revisions](../../../../document-extensions/revisions/overview.mdx)
53-
* [Counters](../../../../document-extensions/counters/overview.mdx)
54-
* [Time Series](../../../../document-extensions/timeseries/overview.mdx)
55-
**What is _not_ being replicated:**
56-
57-
* Server and cluster level features:
58-
* [Indexes](../../../../indexes/creating-and-deploying.mdx)
59-
* [Conflict resolver definitions](../../../../server/clustering/replication/replication-conflicts.mdx#conflict-resolution-script)
60-
* [Compare-Exchange](../../../../client-api/operations/compare-exchange/overview.mdx)
61-
* [Subscriptions](../../../../client-api/data-subscriptions/what-are-data-subscriptions.mdx)
62-
* [Identities](../../../../server/kb/document-identifier-generation.mdx#strategy--3)
63-
* Ongoing tasks
64-
* [ETL](../../../../server/ongoing-tasks/etl/basics.mdx)
65-
* [Backup](../../../../studio/database/tasks/backup-task.mdx)
66-
* [Hub/Sink Replication](../../../../studio/database/tasks/ongoing-tasks/hub-sink-replication/overview.mdx)
67-
68-
<Admonition type="note" title="">
6946

70-
**Why are cluster-level features not replicated?**
71-
72-
RavenDB is designed with a cluster-level data ownership model to prevent conflicts between clusters,
73-
especially in scenarios where ACID transactions are critical.
74-
75-
This approach ensures that certain features, such as policies, configurations, and ongoing tasks,
76-
remain specific to each cluster, avoiding potential inconsistencies.
47+
## General Information about External Replication Task
7748

78-
To explore this concept further, refer to the [Data Ownership in a Distributed System](https://ayende.com/blog/196769-B/data-ownership-in-a-distributed-system) blog post.
49+
<u>What is being replicated:</u>
50+
All database documents and related data.
51+
* [Attachments](../../../../document-extensions/attachments/what-are-attachments.mdx)
52+
* [Revisions](../../../../document-extensions/revisions/overview.mdx)
53+
* [Counters](../../../../document-extensions/counters/overview.mdx)
54+
* [Time Series](../../../../document-extensions/timeseries/overview.mdx)
55+
56+
<u>What is **not** being replicated:</u>
57+
Server and cluster level features.
58+
* [Indexes](../../../../indexes/creating-and-deploying.mdx)
59+
* [Conflict resolver definitions](../../../../server/clustering/replication/replication-conflicts.mdx#conflict-resolution-script)
60+
* [Compare-Exchange](../../../../client-api/operations/compare-exchange/overview.mdx)
61+
* [Subscriptions](../../../../client-api/data-subscriptions/what-are-data-subscriptions.mdx)
62+
* [Identities](../../../../server/kb/document-identifier-generation.mdx#strategy--3)
63+
* Ongoing tasks
64+
* [ETL](../../../../server/ongoing-tasks/etl/basics.mdx)
65+
* [Backup](../../../../studio/database/tasks/backup-task.mdx)
66+
* [Hub/Sink Replication](../../../../studio/database/tasks/ongoing-tasks/hub-sink-replication/overview.mdx)
67+
68+
<Admonition type="note" title="Why are cluster-level features not replicated?" id="why-are-cluster-level-features-not-replicated" href="#why-are-cluster-level-features-not-replicated">
69+
RavenDB is designed with a cluster-level data ownership model to prevent conflicts between clusters,
70+
especially in scenarios where ACID transactions are critical.
71+
72+
This approach ensures that certain features, such as policies, configurations, and ongoing tasks,
73+
remain specific to each cluster, avoiding potential inconsistencies.
74+
75+
To explore this concept further, refer to the [Data Ownership in a Distributed System](https://ayende.com/blog/196769-B/data-ownership-in-a-distributed-system) blog post.
76+
</Admonition>
7977

80-
</Admonition>
81-
**Conflicts:**
78+
<u>Conflicts:</u>
8279

8380
* Two databases that have an External Replication task defined between them will detect and resolve document
8481
[conflicts](../../../../server/clustering/replication/replication-conflicts.mdx) according to each database conflict resolution policy.

versioned_docs/version-6.2/server/troubleshooting/debug-routes.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ For the endpoints that begin with `/databases/*/`, replace `*` with the name of
3434
| /admin/debug/cpu/stats | GET | | Returns RavenDB's processor usage and thread pool status | |
3535
| /admin/debug/info-package | GET | | Save debug package information for later analysis | |
3636
| /admin/debug/memory/low-mem-log | GET | | Low memory events report | |
37-
| /admin/debug/memory/smaps | GET | | Returns all of RavenDB's process mappings including shared/private clean/dirty memory allocations | Availabe only on Linux |
37+
| /admin/debug/memory/smaps | GET | | Returns all of RavenDB's process mappings including shared/private clean/dirty memory allocations | Available only on Linux |
3838
| /admin/debug/memory/stats | GET | | Full report of memory usage including un/managed usage by thread and free memory status | |
3939
| /admin/debug/node/engine-logs | GET | | Rachis logs | |
40-
| /admin/debug/node/ping | GET | -(Optional) url-&lt;br /&gt; -(Optional)node-&lt;br /&gt;For specifying the node by url or node tag | Test the ability to reach the server | |
40+
| /admin/debug/node/ping | GET | <ul><li> `url` (Optional)<br /></li><li> `node` (Optional)</li></ul>Specifies the node by url or node tag | Test the ability to reach the server | |
4141
| /admin/debug/node/remote-connections | GET | | Returns connections' details of members and watchers in the cluster | |
4242
| /admin/debug/node/state-change-history | GET | | List the node's state transition history in the cluster | |
43-
| /admin/debug/proc/meminfo | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/meminfo | Availabe only on Linux |
44-
| /admin/debug/proc/stats | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/stats | Availabe only on Linux |
45-
| /admin/debug/proc/status | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/status | Availabe only on Linux |
43+
| /admin/debug/proc/meminfo | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/meminfo | Available only on Linux |
44+
| /admin/debug/proc/stats | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/stats | Available only on Linux |
45+
| /admin/debug/proc/status | GET | | Return /proc/&lt;RavenDB ProcNum&gt;/status | Available only on Linux |
4646
| /admin/debug/threads/runaway | GET | | List all threads and their names, sorted by duration | |
4747
| /build/version | GET | | Returns product build number, major version, commit hash and full version number | |
48-
| /databases/*/admin/debug/cluster/txinfo | GET | -(Optional) from - Amount of result to skip&lt;br /&gt; -(Optional)take - Amount of result to take | List the incomplete [cluster transaction commands](../clustering/cluster-transactions.mdx#cluster--cluster-wide-transactions) | |
48+
| /databases/*/admin/debug/cluster/txinfo | GET | <ul><li>`from` (Optional)<br />Number of results to skip</li><li>`take` (Optional)<br />Number of results to take</li></ul> | List the incomplete [cluster transaction commands](../clustering/cluster-transactions.mdx#cluster--cluster-wide-transactions) | |
4949
| /databases/*/admin/debug/txinfo | GET | | List | |
5050
| /databases/*/debug/documents/huge | GET | | List IDs of documents which exceed `PerformanceHints.`&lt;br /&gt;`Documents.`&lt;br /&gt;`HugeDocumentSizeInMb` setting | |
5151
| /databases/*/debug/identities | GET | | | |

0 commit comments

Comments
 (0)