Skip to content

Commit

Permalink
Add note to checkforChanges call to explain what happens with existin…
Browse files Browse the repository at this point in the history
…g transactions (#7407)
  • Loading branch information
nick4598 authored Nov 20, 2024
1 parent 80a4290 commit f9f96ba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/core-backend",
"comment": "",
"type": "none"
}
],
"packageName": "@itwin/core-backend"
}
3 changes: 2 additions & 1 deletion core/backend/src/CloudSqlite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,8 @@ export namespace CloudSqlite {
*
* Notes:
* - no changes made by other processes are visible to this CloudContainer unless/until this method is called.
* - note this is automatically called whenever the write lock is obtained to ensure all changes are against the latest version.
* - this is automatically called whenever the write lock is obtained to ensure all changes are against the latest version.
* - any existing transactions on databases within the container will continue to use the old version of the manifest and therefore see no new changes pulled in.
*/
checkForChanges(): void;

Expand Down

0 comments on commit f9f96ba

Please sign in to comment.