PatersonProjects commented on PR #936: URL: https://github.com/apache/burr/pull/936#issuecomment-6085396759
Cleaned up the imports and > I re-ran this at [9d92c8d](https://github.com/apache/burr/commit/9d92c8dc432585f93b5fa06038f3fa0a3dc78fb6) against aerospike-server:8.1.2.4, and both points from my review are fixed. A checkpoint saved under `None` is found through `""` and loads with `partition_key == ""`, the same as SQLite. A second save under the same key now raises `AerospikePersistenceConsistencyError` when the state, status or position differs, and an identical retry is still a no-op. The 46 tests in `test_b_aerospike.py` pass with `BURR_CI_INTEGRATION_TESTS=true`. > > One small cleanup from my local lint run: pre-commit's black 23.11.0 with `--line-length=100` would reformat both files, and flake8 6.1.0 flags five unused imports at `test_b_aerospike.py:35` (`_APP_BIN`, `_POS_BIN`, `_SEQ_BIN`, `_STATE_BIN`, `_STATUS_BIN`) and the blank line at the end of that file. `pre-commit run --files burr/integrations/persisters/b_aerospike.py tests/integrations/persisters/test_b_aerospike.py` should clear the formatting and the blank line; those imports need a manual delete. > > Looks good to me otherwise. Cleaned up the imports and ran the linters for the formatting fixes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
