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

Syncing at startup #52

Open
AndrewOga opened this issue Dec 4, 2024 · 4 comments
Open

Syncing at startup #52

AndrewOga opened this issue Dec 4, 2024 · 4 comments

Comments

@AndrewOga
Copy link

Hi
Please tell me, when I launch the standalone version, synchronization starts immediately.
When I run in the k8s, the synchronization only works on new objects.
What do I need to fix, which configuration file is responsible for the initial synchronization?

@arttor
Copy link
Collaborator

arttor commented Dec 9, 2024

Hi, this behaviour is controlled by storage.createReplication worker config paramenter. The default values is false. After setting it to true, chorus worker will list all existing buckets for all users from main storage in config and will start sync to all other storages.

@gardencash
Copy link

Hi everyone!
I have a similar troubles.

storage:
createReplication: true

When I start worker service (with/without proxy), bucket differense does not sync.
And chorctl show defference but I couldn't understand how to command it to synchronize the data.
Trying to solve the problem for a few days.

vncviewer_Oegalp5mqc

@arttor
Copy link
Collaborator

arttor commented Dec 17, 2024

can it be related to #53 bug? There is a problem with sync if replication was removed and added again.

@gardencash
Copy link

Hi. Yes my case is similar to #53 bug, but it occurs when running worker and proxy separately.
At the same time it works correctly in standalone mode in my case.

Thank you for your answer and I apologize for my late reply!
Got distracted from the task for a couple weeks, will try again.

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