Compare commits

...
Author SHA1 Message Date
Shrenuj Bansal e44c7a3c14 Merge pull request #11019 from filecoin-project/sbansal/syncing-fix-1.22.2
chore: backport sync issue fix and update build version and CL #11017
2023-06-28 15:34:45 -04:00
Shrenuj Bansal c14286a994 Build version and changelog for 1.22.2 2023-06-28 14:09:23 -04:00
Aayush 755fdef4d4 fix: pubsub: do not treat ErrExistingNonce as Reject 2023-06-28 13:59:17 -04:00
10 changed files with 13 additions and 4 deletions
+7
View File
@@ -1,5 +1,12 @@
# Lotus changelog
# v1.22.2 / 2023-06-28
This is a patch release on top of 1.22.1 containing the fix for https://github.com/filecoin-project/lotus/issues/10906
This fixes the syncing issue seen by many node operators/SPs, usually when performing actions which would result in msgs staying in their mpool for longer periods of time (ex. PSD) resulting in these msgs being republished multiple times and possibly lowering your peer scores. Please refer to the above issue for more details.
We'd recommend everyone to accept this fix to better overall network health
# v1.22.1 / 2023-04-23
## Important Notice
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -37,7 +37,7 @@ func BuildTypeString() string {
}
// BuildVersion is the local build version
const BuildVersion = "1.22.1"
const BuildVersion = "1.22.2"
func UserVersion() string {
if os.Getenv("LOTUS_VERSION_IGNORE_COMMIT") == "1" {
+2
View File
@@ -361,6 +361,8 @@ func (mv *MessageValidator) Validate(ctx context.Context, pid peer.ID, msg *pubs
case xerrors.Is(err, messagepool.ErrNonceGap):
fallthrough
case xerrors.Is(err, messagepool.ErrNonceTooLow):
fallthrough
case xerrors.Is(err, messagepool.ErrExistingNonce):
return pubsub.ValidationIgnore
default:
return pubsub.ValidationReject
+1 -1
View File
@@ -7,7 +7,7 @@ USAGE:
lotus-miner [global options] command [command options] [arguments...]
VERSION:
1.22.1
1.22.2
COMMANDS:
init Initialize a lotus miner repo
+1 -1
View File
@@ -7,7 +7,7 @@ USAGE:
lotus-worker [global options] command [command options] [arguments...]
VERSION:
1.22.1
1.22.2
COMMANDS:
run Start lotus worker
+1 -1
View File
@@ -7,7 +7,7 @@ USAGE:
lotus [global options] command [command options] [arguments...]
VERSION:
1.22.1
1.22.2
COMMANDS:
daemon Start a lotus daemon process