8470 Commits

Author SHA1 Message Date
Stas Kelvich
ea38ed2239 support negative ssl negotiation 2021-03-29 15:59:27 +03:00
Heikki Linnakangas
5d0ee11cde page server: If WAL receiver dies, restart from where it left off 2021-03-29 15:59:27 +03:00
Heikki Linnakangas
ab432dff01 page server: Track the range of valid LSNs that we hold 2021-03-29 15:59:27 +03:00
Heikki Linnakangas
b16462268d Add README to provide an overview of the Page Server. 2021-03-29 15:59:27 +03:00
Heikki Linnakangas
bc4b2787f4 page server: Minor code cleanup 2021-03-29 15:59:27 +03:00
Heikki Linnakangas
939281101e page server: retry WAL streaming connection on error. 2021-03-29 15:59:27 +03:00
Heikki Linnakangas
ceb642e242 Make test output less noisy 2021-03-29 15:59:27 +03:00
Heikki Linnakangas
3de0148232 Misc page server cleanup
- reduce println chatter
- improve error handling in the GetPage@LSN function
2021-03-29 15:59:27 +03:00
Heikki Linnakangas
af7ebb6395 Implement WAL redo.
When a page is requested from the page cache (GetPage@LSN), launch postgres
in special "WAL redo" mode to reconstruct that page version.

Plus a bunch of misc fixes to the WAL decoding code.
2021-03-29 15:59:27 +03:00
Stas Kelvich
626b4e9987 basic support of postgres backend protocol 2021-03-29 15:59:27 +03:00
Heikki Linnakangas
a5822a5d8c fix compilation 2021-03-29 15:57:15 +03:00
Heikki Linnakangas
3058021ca7 WIP: beginnings of page server page cache 2021-03-29 15:57:15 +03:00
Heikki Linnakangas
d6ba1e6b78 Silence compiler warnings 2021-03-29 15:57:15 +03:00
Heikki Linnakangas
cdb20bf2a2 More work on the page server's WAL receiver
Add comments. Decode all records received in one XLogData, not just the
first one.
2021-03-29 15:57:15 +03:00
Heikki Linnakangas
eac04d7f10 Remove leftover duplicated code to start replication connection 2021-03-29 15:57:15 +03:00
Heikki Linnakangas
9a9480e8c9 Add WIP support for decoding WAL records. 2021-03-29 15:57:15 +03:00
Stas Kelvich
c856a2f2d2 pageserver stub 2021-03-29 15:57:15 +03:00
Stas Kelvich
05a7ea0a22 Merge pull request #1 from adsharma/main
Initial repo structure
2021-03-29 15:12:34 +03:00
Arun Sharma
253fc123e7 Initial repo structure 2021-03-26 10:54:25 -07:00
adsharma
56aaf3afdc Initial commit 2021-03-26 07:20:47 -07:00