File tree Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -592,12 +592,6 @@ typedef struct XLogCtlData
592
592
/* neon: copy of startup's RedoStartLSN for walproposer's use */
593
593
XLogRecPtr RedoStartLSN ;
594
594
595
- /*
596
- * size of a timeline in zenith pageserver.
597
- * used to enforce timeline size limit.
598
- */
599
- uint64 zenithCurrentClusterSize ;
600
-
601
595
slock_t info_lck ; /* locks shared variables shown above */
602
596
} XLogCtlData ;
603
597
@@ -6431,28 +6425,6 @@ GetRedoStartLsn(void)
6431
6425
return XLogCtl -> RedoStartLSN ;
6432
6426
}
6433
6427
6434
-
6435
- uint64
6436
- GetZenithCurrentClusterSize (void )
6437
- {
6438
- uint64 size ;
6439
- SpinLockAcquire (& XLogCtl -> info_lck );
6440
- size = XLogCtl -> zenithCurrentClusterSize ;
6441
- SpinLockRelease (& XLogCtl -> info_lck );
6442
-
6443
- return size ;
6444
- }
6445
-
6446
-
6447
- void
6448
- SetZenithCurrentClusterSize (uint64 size )
6449
- {
6450
- SpinLockAcquire (& XLogCtl -> info_lck );
6451
- XLogCtl -> zenithCurrentClusterSize = size ;
6452
- SpinLockRelease (& XLogCtl -> info_lck );
6453
- }
6454
-
6455
-
6456
6428
/*
6457
6429
* GetFlushRecPtr -- Returns the current flush position, ie, the last WAL
6458
6430
* position known to be fsync'd to disk. This should only be used on a
Original file line number Diff line number Diff line change @@ -270,10 +270,6 @@ extern XLogRecPtr GetLastWrittenLSN(RelFileLocator relfilenode, ForkNumber forkn
270
270
extern void SetRedoStartLsn (XLogRecPtr RedoStartLSN );
271
271
extern XLogRecPtr GetRedoStartLsn (void );
272
272
273
- extern void SetZenithCurrentClusterSize (uint64 size );
274
- extern uint64 GetZenithCurrentClusterSize (void );
275
-
276
-
277
273
extern void SetWalWriterSleeping (bool sleeping );
278
274
279
275
/*
You can’t perform that action at this time.
0 commit comments