* Fix sparse tar issue
* Bump CI
* I think this is the right argument
* Use dd on mac because cp doesn't support the option we need
* Removed unused package
---------
Co-authored-by: John Detter <no-reply@boppygames.gg>
* Moving object defs to SATS
* move ColumnIndexAttribute to primitives, nix path attr
* revert unnecessary reformating
* ProductValue: don't take ColId
ProductValues can be more than rows and can be nested
* simplify sats::db::def wrt. Constraints + impl ser/de
* cargo fmt
---------
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
Adds a method `reset_to(offset)` to `MessageLog`, which allows to
truncate the log to the given message offset.
Note that this currently requires to iterate over the last segment until
the message offset is found -- we may in the future maintain an offset
index (a la Kafka) to be able to seek closer to the desired message
offset.
`reset_to` subsumes the unused `reset_hard` method, and is itself not
yet used (this will be added in a later patch).
This log line is currently occuring too often. Later changes will
investigate the categorization of these "normal" errors, and more
holistically evaluate our log levels.
* Added license files for the primitives crate
* Fixed version number dependency thing
---------
Co-authored-by: Tyler Cloutier <cloutiertyler@aol.com>
Added multi column index usage to the rust-wasm-test module
This also updates integration test.
The number of lines in the output changes as there is 1 additional
line corresponding to the new table.
Fixes#531.
Instead of having two distinct metrics for commits and rollbacks,
this patch replaces them with a single metric plus a boolean label
representing whether the transaction was committed or rolled back.
At some point identities were returned in a form of { __identity_bytes:
string } object. This commit changes the implementation to accept
regular strings as an argument because that's how we get all of the
identities now.
* core: Refactor commit encoding / decoding
Use `sats::{BufReader, BufWriter}` for decoding / encoding of `Commit`
and associated types. This makes `decode` fallible (which is quite
desirable, instead of panicking).
As the `DecodeError` from sats is fairly sparse, also add some context
about where exactly decoding failed.
Lastly, add some documentation and (property) tests.
Fixes#520.
The default prometheus histogram buckets are meant to be interpreted as f64 seconds.
Because previously we were using nanosecond units,
all observations were being placed in the last (+inf) bucket.
This change was made to avoid modifying the default bucket specification.
* Upgrade command
* Lints
* Working on upgrade command
* More improvements - testing now
* Rebasing on master
* Download spinner is working properly
* More UX improvements
* Small fix
* Small fix for Linux
* Small change to upgrade, much cleaner now
* Fixes for windows
---------
Co-authored-by: Boppy <no-reply@boppygames.gg>