tailscale/drive/driveimpl
Percy Wegmann 454d856be8 drive,ipn/ipnlocal: calculate peer taildrive URLs on-demand
Instead of calculating the PeerAPI URL at the time that we add the peer,
we now calculate it on every access to the peer. This way, if we
initially did not have a shared address family with the peer, but
later do, this allows us to access the peer at that point. This
follows the pattern from other places where we access the peer API,
which also calculate the URL on an as-needed basis.

Additionally, we now show peers as not Available when we can't get
a peer API URL.

Lastly, this moves some of the more frequent verbose Taildrive logging
from [v1] to [v2] level.

Updates #29702

Signed-off-by: Percy Wegmann <percy@tailscale.com>
2025-07-01 10:59:58 -05:00
..
compositedav drive: rewrite LOCK paths 2024-05-16 13:42:45 -05:00
dirfs drive: fix minor typos in comments 2025-04-07 12:03:40 -07:00
shared drive: fix index out of bounds when parsing request local paths (#15517) 2025-04-09 14:12:23 -07:00
birthtiming_test.go tailscale: update tailfs file and package names (#11590) 2024-04-02 13:32:30 -07:00
birthtiming.go tailscale: update tailfs file and package names (#11590) 2024-04-02 13:32:30 -07:00
connlistener_test.go tailscale: update tailfs file and package names (#11590) 2024-04-02 13:32:30 -07:00
connlistener.go tailscale: update tailfs file and package names (#11590) 2024-04-02 13:32:30 -07:00
drive_test.go drive,ipn/ipnlocal: calculate peer taildrive URLs on-demand 2025-07-01 10:59:58 -05:00
fileserver.go drive: fix index out of bounds when parsing request local paths (#15517) 2025-04-09 14:12:23 -07:00
local_impl.go drive,ipn/ipnlocal: calculate peer taildrive URLs on-demand 2025-07-01 10:59:58 -05:00
remote_impl.go drive/driveimpl: use su instead of sudo 2024-08-29 16:23:03 -05:00