@@ -770,7 +770,7 @@ SnapBuildDistributeNewCatalogSnapshot(SnapBuild *builder, XLogRecPtr lsn)
770
770
/*
771
771
* Iterate through all toplevel transactions. This can include
772
772
* subtransactions which we just don't yet know to be that, but that's
773
- * fine, they will just get an unneccesary snapshot queued.
773
+ * fine, they will just get an unnecessary snapshot queued.
774
774
*/
775
775
dlist_foreach (txn_i , & builder -> reorder -> toplevel_by_lsn )
776
776
{
@@ -1212,7 +1212,7 @@ SnapBuildFindSnapshot(SnapBuild *builder, XLogRecPtr lsn, xl_running_xacts *runn
1212
1212
* to CONSISTENT.
1213
1213
* NB: We need to search running.xip when seeing a transaction's end to
1214
1214
* make sure it's a toplevel transaction and it's been one of the
1215
- * intially running ones.
1215
+ * initially running ones.
1216
1216
* Interestingly, in contrast to HS, this allows us not to care about
1217
1217
* subtransactions - and by extension suboverflowed xl_running_xacts -
1218
1218
* at all.
@@ -1657,7 +1657,7 @@ SnapBuildRestore(SnapBuild *builder, XLogRecPtr lsn)
1657
1657
* Make sure the snapshot had been stored safely to disk, that's normally
1658
1658
* cheap.
1659
1659
* Note that we do not need PANIC here, nobody will be able to use the
1660
- * slot without fsyncing, and saving it won't suceed without an fsync()
1660
+ * slot without fsyncing, and saving it won't succeed without an fsync()
1661
1661
* either...
1662
1662
* ----
1663
1663
*/
@@ -1749,7 +1749,7 @@ SnapBuildRestore(SnapBuild *builder, XLogRecPtr lsn)
1749
1749
1750
1750
/*
1751
1751
* We are only interested in consistent snapshots for now, comparing
1752
- * whether one imcomplete snapshot is more "advanced" seems to be
1752
+ * whether one incomplete snapshot is more "advanced" seems to be
1753
1753
* unnecessarily complex.
1754
1754
*/
1755
1755
if (ondisk .builder .state < SNAPBUILD_CONSISTENT )
0 commit comments