Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File found when accessing from one server, but not another #622

Open
filmil opened this issue Apr 24, 2019 · 4 comments
Open

File found when accessing from one server, but not another #622

filmil opened this issue Apr 24, 2019 · 4 comments

Comments

@filmil
Copy link
Contributor

filmil commented Apr 24, 2019

From one machine:

╰─>$ upspin get [email protected]/work/fin/.git/refs/heads/master
upspin: get: client.Get: [email protected]/work/fin/.git/refs/heads/master: item does not exist:
        store/storecache.Get "096AB46A96AC269CB28CE51FC8EAA358F3DF481656DD391EC1FBC93C0A380BC7":
        store/server.Get:
        cloud/storage/disk.Download: 096AB46A96AC269CB28CE51FC8EAA358F3DF481656DD391EC1FBC93C0A380BC7

Server-side log:

2019/04/24 07:41:08.734319 rpc/storeserver: "[email protected]": store.Get("096AB46A96AC269CB28CE51FC8EAA358F3DF481656DD391EC1FBC93C0A380BC7")

(no error is shown, apparently)

From another:

╰─>$ upspin get [email protected]/work/fin/.git/refs/heads/master
d67d2af59c6083c4f9301f676744ffe07d30c5f7

Worth noting that the second upspin get leaves no trace on the server
And:

╰─>$ upspin info [email protected]/work/fin/.git/refs/heads/master

[email protected]/work/fin/.git/refs/heads/master
    packing:      ee
    size:         41
    time:         Wed Apr 24 00:31:31 PDT 2019
    writer:       [email protected]
    attributes:   none (plain file)
    sequence:     388514
    access file:  [email protected]/work/Access
    key holders:  [email protected]
    key hashes:      3d23cfb4...
    can read:   (same)
    can write:  (same)
    can list:   (same)
    can create: (same)
    can delete: (same)
    Block#      Offset Size Location
    0           0      41   {remote,udir.filmar.us:443 096AB46A96AC269CB28CE51FC8EAA358F3DF481656DD391EC1FBC93C0A380BC7}
@filmil
Copy link
Contributor Author

filmil commented Apr 24, 2019

Both machines agree on getref, though.

╰─>$ upspin getref [email protected]/work/fin/.git/refs/heads/master
upspin: getref: store/storecache.Get "[email protected]/work/fin/.git/refs/heads/master": item does not exist:
        store/server.Get:
        cloud/storage/disk.Download: [email protected]/work/fin/.git/refs/heads/master

@adg
Copy link
Collaborator

adg commented Apr 29, 2019

Are you using a cacheserver in one place and not in another?

@filmil
Copy link
Contributor Author

filmil commented Apr 29, 2019

Both configurations use cacheserver.

@masiulaniec
Copy link
Contributor

Have you tried removing ~/upspin/$USER/*cache?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants