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

skate set does not work for text files on first set #24

Open
harsha3294 opened this issue Mar 8, 2022 · 3 comments
Open

skate set does not work for text files on first set #24

harsha3294 opened this issue Mar 8, 2022 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@harsha3294
Copy link

harsha3294 commented Mar 8, 2022

I have two machines on the same network linked together.

While a simple set/get will work for strings, i.e

  1. set a key in machine A
  2. do a skate sync on machine B
  3. skate get key1 will result in the correct value.

But the above sequence does not work for text files. I have to do the following:

  1. skate set file1 < test.txt
  2. Skate sync
  3. skate get file on remote machine ===> no key found

If I do the following it works:

  1. skate set file1 < test.txt
  2. skate sync
  3. skate get file on remote machine ==> no key found
  4. skate set file1 < test.txt
  5. skate get file on remote machine ===> This time I can see
@harsha3294
Copy link
Author

The following operations also does not work:

everything on the same machine.

skate set key1 < log.txt
skate list ---> shows key1

skate delete key1
skate list ---> still shows key1

@bashbunni bashbunni added the bug Something isn't working label Mar 21, 2022
@bashbunni
Copy link
Member

See if this is still a bug on main/master branch

@bashbunni bashbunni added the good first issue Good for newcomers label May 5, 2022
@abedef
Copy link

abedef commented Feb 8, 2023

I am running into a similar situation though I am not sure if it is related.

In summary, before I can skate get binary data that was just skate set by a linked machine, I need to run skate sync – with no indication of needing to do so. If I do not sync beforehand, the get does not fail, but it returns something else (possibly a blank file).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants