projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85931d0
)
Revert "It may happen that we try to read the status of a transaction"
author
Pavan Deolasee
<
[email protected]
>
Thu, 12 May 2016 08:14:27 +0000
(13:44 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Thu, 12 May 2016 08:14:27 +0000
(13:44 +0530)
This reverts commit
d3356cd451664f3585706f0ae817e0037814ec6e
.
Other bug fixes in this area has now fixed the underlying problem and hence we
don't need this change.
src/backend/access/transam/slru.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/slru.c
b/src/backend/access/transam/slru.c
index bf19338c12bdf167c90b01e862988b9fd20b2cda..89c56a1b78fa39711d59f772bf4d7e66941d3a64 100644
(file)
--- a/
src/backend/access/transam/slru.c
+++ b/
src/backend/access/transam/slru.c
@@
-410,17
+410,6
@@
SimpleLruReadPage(SlruCtl ctl, int pageno, bool write_ok,
/* Do the read */
ok = SlruPhysicalReadPage(ctl, pageno, slotno);
- /*
- * If we failed, it may be because we tried to read the status
- * before the page was created. Retry once
- */
- if (!ok && slru_errcause == SLRU_READ_FAILED)
- {
- ExtendLogs(xid);
- /* Retry */
- ok = SlruPhysicalReadPage(ctl, pageno, slotno);
- }
-
/* Set the LSNs for this newly read-in page to zero */
SimpleLruZeroLSNs(ctl, slotno);