Skip to content

sync2: implement database-backed sync based on FPTree

Codecov / codecov/patch succeeded Oct 23, 2024 in 1s

80.2% of diff hit (target 79.8%)

View this Pull Request on Codecov

80.2% of diff hit (target 79.8%)

Annotations

Check warning on line 63 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L62-L63

Added lines #L62 - L63 were not covered by tests

Check warning on line 67 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L66-L67

Added lines #L66 - L67 were not covered by tests

Check warning on line 81 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 92 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L92

Added line #L92 was not covered by tests

Check warning on line 114 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L113-L114

Added lines #L113 - L114 were not covered by tests

Check warning on line 123 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L122-L123

Added lines #L122 - L123 were not covered by tests

Check warning on line 131 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L131

Added line #L131 was not covered by tests

Check warning on line 137 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L136-L137

Added lines #L136 - L137 were not covered by tests

Check warning on line 143 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L142-L143

Added lines #L142 - L143 were not covered by tests

Check warning on line 156 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L156

Added line #L156 was not covered by tests

Check warning on line 161 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L160-L161

Added lines #L160 - L161 were not covered by tests

Check warning on line 166 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L165-L166

Added lines #L165 - L166 were not covered by tests

Check warning on line 190 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L189-L190

Added lines #L189 - L190 were not covered by tests

Check warning on line 199 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L198-L199

Added lines #L198 - L199 were not covered by tests

Check warning on line 209 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L208-L209

Added lines #L208 - L209 were not covered by tests

Check warning on line 216 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L215-L216

Added lines #L215 - L216 were not covered by tests

Check warning on line 228 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L227-L228

Added lines #L227 - L228 were not covered by tests

Check warning on line 246 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L245-L246

Added lines #L245 - L246 were not covered by tests

Check warning on line 257 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L256-L257

Added lines #L256 - L257 were not covered by tests

Check warning on line 274 in sync2/dbset/dbset.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/dbset/dbset.go#L267-L274

Added lines #L267 - L274 were not covered by tests

Check warning on line 156 in sync2/fptree/fptree.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/fptree/fptree.go#L154-L156

Added lines #L154 - L156 were not covered by tests

Check warning on line 293 in sync2/fptree/fptree.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/fptree/fptree.go#L293

Added line #L293 was not covered by tests

Check warning on line 433 in sync2/fptree/fptree.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/fptree/fptree.go#L431-L433

Added lines #L431 - L433 were not covered by tests

Check warning on line 470 in sync2/fptree/fptree.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/fptree/fptree.go#L470

Added line #L470 was not covered by tests

Check warning on line 477 in sync2/fptree/fptree.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync2/fptree/fptree.go#L475-L477

Added lines #L475 - L477 were not covered by tests