]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Enhance sqlite3_rsync (in a backwards-compatible way) so that it has the
authordrh <>
Sat, 3 May 2025 08:17:46 +0000 (08:17 +0000)
committerdrh <>
Sat, 3 May 2025 08:17:46 +0000 (08:17 +0000)
ability to send hashes for blocks of pages in addition to individual pages.
By judicious use of this capability, network bandwidth requirement to sync two
similar databases is reduced.

FossilOrigin-Name: e5d87aaa8fe1e8c8cb63813d26851183e77809a3d36e4c16c37f88b4b4724d6d

1  2 
manifest
manifest.uuid

diff --cc manifest
index 96f52aa1fd509d8e732454ee7052e958cd452d3d,565a024081e13abb018801affc0ccdbf0ff6c242..1b3a9d2a063943129fbdd1ae9d0ee2fec95deaf4
+++ b/manifest
@@@ -1,5 -1,5 +1,5 @@@
- C Do\snot\sallow\ssqlite3_rsync\sto\sconvert\sthe\sreplica\sfrom\sWAL-mode\sinto\nDELETE-mode,\sas\sthat\scan\sdisrupt\sexisting\sclients\son\sthe\sreplica\sside.\nDELETE-mode\sto\sWAL-mode\sconversions\sare\sallowed,\showever.\s\sSee\n[forum:/forumpost/6b575b66156673ee|forum\sthread\s6b575b66156].
- D 2025-05-02T11:18:09.023
 -C Improvements\sto\sprotocol\snegotiation.
 -D 2025-05-03T07:00:51.378
++C Enhance\ssqlite3_rsync\s(in\sa\sbackwards-compatible\sway)\sso\sthat\sit\shas\sthe\nability\sto\ssend\shashes\sfor\sblocks\sof\spages\sin\saddition\sto\sindividual\spages.\nBy\sjudicious\suse\sof\sthis\scapability,\snetwork\sbandwidth\srequirement\sto\ssync\stwo\nsimilar\sdatabases\sis\sreduced.
++D 2025-05-03T08:17:46.240
  F .fossil-settings/binary-glob 61195414528fb3ea9693577e1980230d78a1f8b0a54c78cf1b9b24d0a409ed6a x
  F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
  F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
@@@ -2207,8 -2207,8 +2207,9 @@@ F tool/version-info.c 3b36468a90faf1bbd
  F tool/warnings-clang.sh bbf6a1e685e534c92ec2bfba5b1745f34fb6f0bc2a362850723a9ee87c1b31a7
  F tool/warnings.sh 49a486c5069de041aedcbde4de178293e0463ae9918ecad7539eedf0ec77a139
  F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
- P 4b53603fe468c0c28b818762917e41bdd870de6d4cc143688f1cdea3136c81a4
- R 77c0a71cca6be2a9f28e992f31255bba
 -P 2a52b174e6e91cd7cfca0b20b39cdd231f377c7bc073f4223574556b94b16aa5
++P 660a035b6ce6684d429b882133e032181cc1664f4efadf1bc0e4ae27d45071c4 4f5a06e42010c3e047429f736ffb8e2e89a1eb599277c176945b57710f6713ca
+ R 2857adf0e10b56883ce6697a283afd6e
++T +closed 4f5a06e42010c3e047429f736ffb8e2e89a1eb599277c176945b57710f6713ca
  U drh
- Z 4ae06cab268d08247b608c21e7458e1c
 -Z c7d74e185dc3b48152bf82febe4de310
++Z c3005ffc7ac3fefab06e6e18950a9819
  # Remove this line to create a well-formed Fossil manifest.
diff --cc manifest.uuid
index 0d00d48c76d5540743061ce2e64ef821b7d1ecf5,f3b4164d07d57d842404f5eddb6c2c972acc7fda..b8cdd4302e9cf5553a5ec8840d3a92a23b826f18
@@@ -1,1 -1,1 +1,1 @@@
- 660a035b6ce6684d429b882133e032181cc1664f4efadf1bc0e4ae27d45071c4
 -4f5a06e42010c3e047429f736ffb8e2e89a1eb599277c176945b57710f6713ca
++e5d87aaa8fe1e8c8cb63813d26851183e77809a3d36e4c16c37f88b4b4724d6d