mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust comment
This commit is contained in:
parent
72d4ff6b28
commit
f117f7bf54
|
@ -76,7 +76,7 @@ func detectMountInfo(commandEnv *CommandEnv, writer io.Writer, dir string) (*rem
|
||||||
This function update entry.RemoteEntry if the remote has any changes.
|
This function update entry.RemoteEntry if the remote has any changes.
|
||||||
|
|
||||||
To pull remote updates, or created for the first time, the criteria is:
|
To pull remote updates, or created for the first time, the criteria is:
|
||||||
entry == nil or (entry.RemoteEntry != nil and entry.RemoteEntry.RemoteTag != remote.RemoteTag)
|
entry == nil or (entry.RemoteEntry != nil and (entry.RemoteEntry.RemoteTag != remote.RemoteTag or entry.RemoteEntry.RemoteMTime < remote.RemoteMTime ))
|
||||||
After the meta pull, the entry.RemoteEntry will have:
|
After the meta pull, the entry.RemoteEntry will have:
|
||||||
remoteEntry.LastLocalSyncTsNs == 0
|
remoteEntry.LastLocalSyncTsNs == 0
|
||||||
Attributes.FileSize = uint64(remoteEntry.RemoteSize)
|
Attributes.FileSize = uint64(remoteEntry.RemoteSize)
|
||||||
|
|
Loading…
Reference in a new issue