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

2Gb index-v0.14.0.db #6063

Closed
532910 opened this issue Oct 6, 2019 · 11 comments

Comments

@532910
Copy link

commented Oct 6, 2019

% du -sh .config/syncthing/index-v0.14.0.db
2.2G	.config/syncthing/index-v0.14.0.db

% ls -1 .config/syncthing/index-v0.14.0.db | wc -l
938

debian sid, 1.1.4~ds1-4

@AudriusButkevicius

This comment has been minimized.

Copy link
Member

commented Oct 6, 2019

As the issue template explains, please use the forum for support.
Please use the search on the forum and the closed issue tracker for simillar issues before starting a new thread.
If this issue is later proven to be a bug, we will reopen this issue or open a new one.

@532910

This comment has been minimized.

Copy link
Author

commented Oct 6, 2019

.config MUST NOT take 2GB!
I don't need support.

@532910

This comment has been minimized.

Copy link
Author

commented Oct 6, 2019

Moreover, the ~/.config is the wrong place for index files.

@AudriusButkevicius

This comment has been minimized.

Copy link
Member

commented Oct 6, 2019

I think it's an ok default as all distributions are different, and I wouldn't be surprised if some lack /var/lib etc.

People can change that on the command line if they wish (or just symlink I guess)

@532910

This comment has been minimized.

Copy link
Author

commented Oct 6, 2019

@532910

This comment has been minimized.

Copy link
Author

commented Oct 6, 2019

Also I think that .config must be backupable, and 2Gb of strange files is too much for backup.

@AudriusButkevicius

This comment has been minimized.

Copy link
Member

commented Oct 7, 2019

The index should be backupable too, as you'd end up with conflicts if you restore the config but not the index.

It's size is proportionate to the number of devices and number of files/their size.

@532910

This comment has been minimized.

Copy link
Author

commented Oct 7, 2019

You are wrong, as after syncthing -reset-database index-v0.14.0.db is 32Mb!!!

@532910

This comment has been minimized.

Copy link
Author

commented Oct 7, 2019

So, reopen this issue please.

@AudriusButkevicius

This comment has been minimized.

Copy link
Member

commented Oct 7, 2019

Something being big does not automatically make it a bug, as it's all down to various circumstances which are not explored here.

There is just not enough information here to classify this as a bug, and there needs to be questions asked, which might make this a super long issue which is hard to follow, hence we try to avoid that and move question asking to the forums, and then once we know what the root cause is, formulate it into an issue which has all the details in a single post rather than a thread over 30 comments.

@532910

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.