lib/model: Add support for different puller block ordering (#6587)

* WIP

* Tests

* Header and format

* WIP

* Fix tests

* Goland you disappoint me

* Remove CC storage

* Update blockpullreorderer.go
This commit is contained in:
Audrius Butkevicius
2020-05-11 22:44:04 +01:00
committed by GitHub
parent decb967969
commit 6201eebc98
5 changed files with 289 additions and 11 deletions
+1
View File
@@ -59,6 +59,7 @@ type FolderConfiguration struct {
RawModTimeWindowS int `xml:"modTimeWindowS" json:"modTimeWindowS"`
MaxConcurrentWrites int `xml:"maxConcurrentWrites" json:"maxConcurrentWrites" default:"2"`
DisableFsync bool `xml:"disableFsync" json:"disableFsync"`
BlockPullOrder BlockPullOrder `xml:"blockPullOrder" json:"blockPullOrder"`
cachedFilesystem fs.Filesystem
cachedModTimeWindow time.Duration