Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

unable to retrieve snapshot info with 2022.02.22.0_GA #1454

Closed
marvinmarnold opened this issue Feb 27, 2022 · 10 comments
Closed

unable to retrieve snapshot info with 2022.02.22.0_GA #1454

marvinmarnold opened this issue Feb 27, 2022 · 10 comments

Comments

@marvinmarnold
Copy link

Running on a docker image in the cloud. After taking a snapshot, cannot read info from the same file.

/opt/miner # miner snapshot take /var/data/saved-snaps/latest
ok

/opt/miner # miner snapshot info /var/data/saved-snaps/latest 
RPC to '[email protected]' failed: {'EXIT',
                                  {badarg,
                                   [{erlang,binary_to_term,
                                     [{{file_descriptor,prim_file,
                                        #{handle =>
                                           #Ref<8561.140121989.3879600139.252626>,
                                          owner => <8561.3771.0>,
                                          r_ahead_size => 0,
                                          r_buffer =>
                                           #Ref<8561.140121989.3880648705.142191>}},
                                       27177629,108643055}],
                                     [{error_info,
                                       #{module => erl_erts_errors}}]},
                                    {blockchain_cli_snapshot,snapshot_info,3,
                                     [{file,"blockchain_cli_snapshot.erl"},
                                      {line,186}]},
                                    {clique_command,run,1,
                                     [{file,"clique_command.erl"},{line,87}]},
                                    {blockchain_console,command,1,
                                     [{file,"blockchain_console.erl"},
                                      {line,14}]}]}}
@marvinmarnold marvinmarnold changed the title snapshot take producing invalid snapshots unable to retrieve snapshot info with 2022.02.22.0_GA Feb 27, 2022
@marvinmarnold
Copy link
Author

I have confirmed the same commands do work on 2022.01.29.0_GA. The issue is on the info step because you get the same behavior with a valid snapshot generated somewhere else.

@andrewintw
Copy link

Yes, I have the same issue in my environment. Even 2022.02.28.0_GA didn't fix this.

@shawaj
Copy link
Contributor

shawaj commented Mar 1, 2022

Yes, I have the same issue in my environment. Even 2022.02.28.0_GA didn't fix this.

Same here, seems both the last 2 releases are effected.

Rolling back to 01.29 release is the only way to fix it currently it seems

@Vagabond
Copy link
Contributor

Vagabond commented Mar 1, 2022

Yeah, it's an oversight in some of the snapshot file handling. We'll fix it.

@gilloud
Copy link

gilloud commented Mar 3, 2022

Same here ! Thanks @Vagabond for your work !

@gilloud
Copy link

gilloud commented Mar 3, 2022

@shawaj
Copy link
Contributor

shawaj commented Mar 7, 2022

@Vagabond does the 03.07 release fix this?

@Vagabond
Copy link
Contributor

Vagabond commented Mar 7, 2022

It should, yes.

@shawaj
Copy link
Contributor

shawaj commented Mar 7, 2022

Thanks @Vagabond will test today and report back 👌

@marvinmarnold
Copy link
Author

Confirmed that this is resolved by https://github.com/helium/miner/releases/tag/2022.03.07.0_GA

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants