You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
saveCrc use prevCrc as it's only parameter, then pass it to w.encoder.encode(&walpb.Record{Type: crcType, Crc: prevCrc}).
But in function encode, it just override the input rec.Crc like below, so i think the parameter for saveCrc is useless
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.
etcd/server/storage/wal/wal.go
Line 968 in ea24fb8
saveCrcuseprevCrcas it's only parameter, then pass it tow.encoder.encode(&walpb.Record{Type: crcType, Crc: prevCrc}).But in function
encode, it just override the inputrec.Crclike below, so i think the parameter forsaveCrcis uselessThe text was updated successfully, but these errors were encountered: