berty / go-orbit-db

Go version of P2P Database on IPFS
https://berty.tech
Apache License 2.0
422 stars 57 forks source link

fix(replicator): alignment of atomic int64 fields #79

Closed n0izn0iz closed 3 years ago

n0izn0iz commented 3 years ago

On ARM, 386, and 32-bit MIPS, it is the caller's responsibility to arrange for 64-bit alignment of 64-bit words accessed atomically. The first word in a variable or in an allocated struct, array, or slice can be relied upon to be 64-bit aligned.

codecov[bot] commented 3 years ago

Codecov Report

Merging #79 (b88e20a) into master (a85f0cf) will decrease coverage by 0.14%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
- Coverage   67.17%   67.03%   -0.15%     
==========================================
  Files          29       29              
  Lines        2108     2108              
==========================================
- Hits         1416     1413       -3     
- Misses        485      487       +2     
- Partials      207      208       +1     
Flag Coverage Δ
unittests 67.03% <ø> (-0.15%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
stores/replicator/replicator.go 84.61% <ø> (-1.54%) :arrow_down:
events/events.go 79.62% <0.00%> (-5.56%) :arrow_down:
pubsub/oneonone/channel.go 70.49% <0.00%> (+3.27%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a85f0cf...b88e20a. Read the comment docs.

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 1.11.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: