Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adm: print NNS expiration time along with hash dump #2295

Merged

Conversation

roman-khimov
Copy link
Member

We print versions already, domain expirations might be useful as well.

Looks like this:

nns         (v0.16.0):  fb08ccf30ab534a871b7b092a49fe70c154ed678  1970-01-01 03:00:00 +0300 MSK
alphabet 0  (v0.16.0):  61936114ea7fb0e7b5a2723b02f505f126bb2c02  2023-07-18 19:01:16.974 +0300 MSK
alphabet 1  (v0.16.0):  1bf134b7e68195ef3c41b50652f4ea0f1447bbd6  2023-07-18 19:01:16.974 +0300 MSK
alphabet 2  (v0.16.0):  3cf31e25947842a3f7670896fd852bc3247e2737  2023-07-18 19:01:16.974 +0300 MSK
alphabet 3  (v0.16.0):  d793058938c787a4a4eafa210d9828a754c5abbf  2023-07-18 19:01:16.974 +0300 MSK
alphabet 4  (v0.16.0):  8a6212f6300e8cf76865e428e8d7c990d2e4e94c  2023-07-18 19:01:16.974 +0300 MSK
alphabet 5  (v0.16.0):  3456b29877fd90d980a3350dbfea448b02e86ed3  2023-07-18 19:01:16.974 +0300 MSK
alphabet 6  (v0.16.0):  08fad4051210a66c03b819a00a60330ddae2c67a  2023-07-18 19:01:16.974 +0300 MSK
audit       (v0.15.4):  0b2e571aa760c22a5ab94bae3a9752bb2eb918f5  2023-07-18 19:01:16.974 +0300 MSK
balance     (v0.15.4):  54f3bd4dbec6ecd0f5177b5bd86f09043e34d45f  2023-07-18 19:01:16.974 +0300 MSK
container   (v0.15.4):  70cf38deb1ff7a4f64cb1127eafcd75cd38083d4  2023-07-18 19:01:16.974 +0300 MSK
neofsid     (v0.15.4):  821fbe90b21986883cd19551be689cca0170e9fb  2023-07-18 19:01:16.974 +0300 MSK
netmap      (v0.15.4):  c4576ea5c3081dd765a17aaaa73d9352e74bdc28  2023-07-18 19:01:16.974 +0300 MSK
proxy       (v0.15.4):  b88b7ad0899766ee39bf554018f2df008f930a61  2023-07-18 19:01:16.974 +0300 MSK
reputation  (v0.15.4):  2fbca91096822825b8e9f71ff596381ceb4bd749  2023-07-18 19:01:16.974 +0300 MSK
subnet      (v0.15.4):  e0a2dcc4da7e8c48ae289c14dc6c0583493daf90  2023-07-18 19:01:16.974 +0300 MSK

@roman-khimov roman-khimov added this to the v0.36.0 milestone Mar 24, 2023
@roman-khimov roman-khimov force-pushed the print-expirations-in-hash-list branch from e4b4e4b to d77aaf8 Compare March 24, 2023 11:48
@codecov
Copy link

codecov bot commented Mar 24, 2023

Codecov Report

Merging #2295 (c0653b8) into master (197251d) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

❗ Current head c0653b8 differs from pull request most recent head 11c34f9. Consider uploading reports for the commit 11c34f9 to get more accurate results

@@            Coverage Diff             @@
##           master    #2295      +/-   ##
==========================================
- Coverage   30.92%   30.89%   -0.04%     
==========================================
  Files         385      385              
  Lines       28538    28562      +24     
==========================================
- Hits         8825     8823       -2     
- Misses      18974    19000      +26     
  Partials      739      739              
Impacted Files Coverage Δ
...md/neofs-adm/internal/modules/morph/dump_hashes.go 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

We print versions already, domain expirations might be useful as well.

nns         (v0.16.0):  fb08ccf30ab534a871b7b092a49fe70c154ed678  unknown
alphabet 0  (v0.16.0):  61936114ea7fb0e7b5a2723b02f505f126bb2c02  2023-07-18 19:01:16.974 +0300 MSK
alphabet 1  (v0.16.0):  1bf134b7e68195ef3c41b50652f4ea0f1447bbd6  2023-07-18 19:01:16.974 +0300 MSK
alphabet 2  (v0.16.0):  3cf31e25947842a3f7670896fd852bc3247e2737  2023-07-18 19:01:16.974 +0300 MSK
alphabet 3  (v0.16.0):  d793058938c787a4a4eafa210d9828a754c5abbf  2023-07-18 19:01:16.974 +0300 MSK
alphabet 4  (v0.16.0):  8a6212f6300e8cf76865e428e8d7c990d2e4e94c  2023-07-18 19:01:16.974 +0300 MSK
alphabet 5  (v0.16.0):  3456b29877fd90d980a3350dbfea448b02e86ed3  2023-07-18 19:01:16.974 +0300 MSK
alphabet 6  (v0.16.0):  08fad4051210a66c03b819a00a60330ddae2c67a  2023-07-18 19:01:16.974 +0300 MSK
audit       (v0.15.4):  0b2e571aa760c22a5ab94bae3a9752bb2eb918f5  2023-07-18 19:01:16.974 +0300 MSK
balance     (v0.15.4):  54f3bd4dbec6ecd0f5177b5bd86f09043e34d45f  2023-07-18 19:01:16.974 +0300 MSK
container   (v0.15.4):  70cf38deb1ff7a4f64cb1127eafcd75cd38083d4  2023-07-18 19:01:16.974 +0300 MSK
neofsid     (v0.15.4):  821fbe90b21986883cd19551be689cca0170e9fb  2023-07-18 19:01:16.974 +0300 MSK
netmap      (v0.15.4):  c4576ea5c3081dd765a17aaaa73d9352e74bdc28  2023-07-18 19:01:16.974 +0300 MSK
proxy       (v0.15.4):  b88b7ad0899766ee39bf554018f2df008f930a61  2023-07-18 19:01:16.974 +0300 MSK
reputation  (v0.15.4):  2fbca91096822825b8e9f71ff596381ceb4bd749  2023-07-18 19:01:16.974 +0300 MSK
subnet      (v0.15.4):  e0a2dcc4da7e8c48ae289c14dc6c0583493daf90  2023-07-18 19:01:16.974 +0300 MSK

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@roman-khimov roman-khimov force-pushed the print-expirations-in-hash-list branch from d77aaf8 to 11c34f9 Compare March 27, 2023 13:46
@cthulhu-rider cthulhu-rider merged commit 16ae494 into nspcc-dev:master Mar 27, 2023
@roman-khimov roman-khimov deleted the print-expirations-in-hash-list branch March 27, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants