NASA-PDS / registry-sweepers

Scripts that run regularly on the registry database, to clean and consolidate information
Apache License 2.0
0 stars 1 forks source link

hotfix zero-update writes regression #65

Closed alexdunnjpl closed 10 months ago

alexdunnjpl commented 10 months ago

Attempting to write an empty buffer of doc updates to OpenSearch results in HTTP400 (regression introduced in #62 )

🗒️ Summary

Adds a check to only perform a write of a non-full buffer if there's actually something in it

⚙️ Test Data and/or Report

Passes the old Mk.2 eyeball Currently testing in-situ (pending)

♻️ Related Issues

fixes #64