sillsdev / sillsdev/hgresume

Can't push again to reset repository

Open
#10 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
0
Forks
1
Avg merge
3d 17h
Merged PRs (30d)
1

Description

If I:

  1. Create a new repository on Language Depot
  2. I can push to it with resumable 👍
  3. I reset the repository on Language Depot
  4. When I try to push again it fails 💥
  5. I delete C:\ProgramData\SIL\FieldWorks\Projects\sena-3\Chorus\ChorusStorage
  6. I can push again 👍

So, it seems that the cache on the client somehow leads to confusion on the server.
I presume the server is at fault.

Here's the relevant part of the logs

Ping took 19 milliseconds
Receiving any changes from languageForge.org [Low bandwidth]
(languageForge.org [Low bandwidth] is https://resumable.languageforge.org/sena-3-test-test-flex)
Initiating Resumable Transport
Executing: tip --template "changeset:{rev}:{node|short}
branch:{branches}
user:{author}
date:{date|rfc822date}
tag:{tags}
summary:{desc}
"
standout: changeset:4:216ebe50688b
branch:7500002.7000072
user:tim
date:Tue, 26 Mar 2024 14:34:08 +0100
tag:tip
summary:[FLExBridge: 4.1.0-beta.4+Branch.develop.Sha.14f14c27739551774de26d7b15ac4d05a2408005] sync

changeset:4:216ebe50688b
branch:7500002.7000072
user:tim
date:Tue, 26 Mar 2024 14:34:08 +0100
tag:tip
summary:[FLExBridge: 4.1.0-beta.4+Branch.develop.Sha.14f14c27739551774de26d7b15ac4d05a2408005] sync
Using cached result: log -r0 --template "{node}" 
standout: 1af18777e23eadd69d4f9bddc9df202c64be804c

Using cached result: log -r4 --template "{node}" 
standout: 216ebe50688b973d4c8d63cf4c49f52831418541

API REQ: https://resumable.languageforge.org/api/v03/pullBundleChunk?offset=0&chunkSize=5000&transId=da66d9d2-33fd-430c-9934-402fcc475553&baseHashes[]=216ebe50688b&baseHashes[]=1af18777e23e&repoId=sena-3-test-test-flex Timeout
Warning: Pull operation timed out.  Retrying...
API REQ: https://resumable.languageforge.org/api/v03/pullBundleChunk?offset=0&chunkSize=5000&transId=da66d9d2-33fd-430c-9934-402fcc475553&baseHashes[]=216ebe50688b&baseHashes[]=1af18777e23e&repoId=sena-3-test-test-flex Timeout
Warning: Pull operation timed out.  Retrying...

and a trace:
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the logged pullBundleChunk API request and the client cache at C:\ProgramData\SIL\FieldWorks\Projects\sena-3\Chorus\ChorusStorage. Reproduce the failure by resetting a Language Depot repository and pushing again, then compare behavior before and after deleting that cache. Done means a reset repository accepts the subsequent push without manual cache deletion and the timeout is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, php
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.