Re: File corruption after power cut

2019-09-04 Thread Fred Dushin
Just remember if you are not running AAE, you will want to do a manual repair 
on that partition, in order to ensure you have adequate replication:

https://docs.riak.com/riak/kv/2.2.3/using/repair-recovery/repairs.1.html#repairing-partitions

> On Sep 4, 2019, at 5:19 AM, Bryan Hunt  
> wrote:
> 
> Easiest solution is to just delete the vnode - and let it recover from 
> replicas - vnode directory will be 
> 844930634081928249586505293914101120738586001408
> 
> 
> 
>> On 4 Sep 2019, at 10:01, Guido Medina > > wrote:
>> 
>> Hi all,
>> 
>> We had a power cut which caused one of the nodes to corrupt one of the 
>> LevelDB files, after this that node doesn't even want to start, here is the 
>> error we are seeing:
>>> 2019-09-04 08:46:41.584 [error] <0.2329.0>@riak_kv_vnode:init:527 Failed to 
>>> start riak_kv_eleveldb_backend backend for index 
>>> 844930634081928249586505293914101120738586001408 error: 
>>> {db_open,"Corruption: CURRENT file does not end with newline"}
>> 
>> Thanks in advance for your help ;-)
>> Guido.
>> ___
>> riak-users mailing list
>> riak-users@lists.basho.com 
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 
> Code Sync & Erlang Solutions Conferences
> Code BEAM Lite  
> - Budapest: 20 September 2019
> Code BEAM Lite  
> - New York City: 01 October 2019
> Code BEAM Lite  
> - Berlin: 11 October 2019
> RabbitMQ Summit  
> - London: 4 November 2019
> Code Mesh LDN  - 
> London: 7-8 November 2019
> Code BEAM Lite  
> - Bangalore: 14 November 2019
> Code BEAM Lite  
> - Amsterdam: 29 November 2019
> Lambda Days  - 
> Kraków: 13-14 February 2020
> Code BEAM SF  - 
> San Francisco: 5-6 March 2020
> Code BEAM STO - Stockholm: 28-29 May 2020
> 
> Erlang Solutions cares about your data and privacy; please find all details 
> about the basis for communicating with you and the way we process your data 
> in our Privacy Policy 
> .You can update your 
> email preferences or opt-out from receiving Marketing emails here 
> .
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: File corruption after power cut

2019-09-04 Thread Guido Medina

Bryan* (misspelled your name), need a morning coffee :(

On 04/09/2019 10:29, Guido Medina wrote:
Thanks a lot Brian, I have deleted such directory and now the node 
started, let's see how it behaves.


Guido.

On 04/09/2019 10:19, Bryan Hunt wrote:
Easiest solution is to just delete the vnode - and let it recover 
from replicas - vnode directory will be 
844930634081928249586505293914101120738586001408


On 4 Sep 2019, at 10:01, Guido Medina > wrote:


Hi all,

We had a power cut which caused one of the nodes to corrupt one of 
the LevelDB files, after this that node doesn't even want to start, 
here is the error we are seeing:
2019-09-04 08:46:41.584 [error] <0.2329.0>@riak_kv_vnode:init:527 
Failed to start riak_kv_eleveldb_backend backend for index 
844930634081928249586505293914101120738586001408 error: 
{db_open,"Corruption: CURRENT file does not end with newline"}


Thanks in advance for your help ;-)
Guido.
___
riak-users mailing list
riak-users@lists.basho.com 
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



Code Sync & Erlang Solutions Conferences

Code BEAM Lite 
- 
Budapest: 20 September 2019


Code BEAM Lite 
- New 
York City: 01 October 2019


Code BEAM Lite 
- 
Berlin: 11 October 2019


RabbitMQ Summit 
- 
London: 4 November 2019


Code Mesh LDN 
- 
London: 7-8 November 2019


Code BEAM Lite 
- 
Bangalore: 14 November 2019


Code BEAM Lite 
- 
Amsterdam: 29 November 2019


Lambda Days 
- 
Kraków: 13-14 February 2020


Code BEAM SF 
- San 
Francisco: 5-6 March 2020


Code BEAM STO - Stockholm: 28-29 May 2020

/Erlang Solutions cares about your data and privacy; please find all 
details about the basis for communicating with you and the way we 
process your data in our //Privacy Policy/ 
/.You can 
update your email preferences or opt-out from receiving Marketing 
emails here ./






___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: File corruption after power cut

2019-09-04 Thread Guido Medina
Thanks a lot Brian, I have deleted such directory and now the node 
started, let's see how it behaves.


Guido.

On 04/09/2019 10:19, Bryan Hunt wrote:
Easiest solution is to just delete the vnode - and let it recover from 
replicas - vnode directory will be 
844930634081928249586505293914101120738586001408


On 4 Sep 2019, at 10:01, Guido Medina > wrote:


Hi all,

We had a power cut which caused one of the nodes to corrupt one of 
the LevelDB files, after this that node doesn't even want to start, 
here is the error we are seeing:
2019-09-04 08:46:41.584 [error] <0.2329.0>@riak_kv_vnode:init:527 
Failed to start riak_kv_eleveldb_backend backend for index 
844930634081928249586505293914101120738586001408 error: 
{db_open,"Corruption: CURRENT file does not end with newline"}


Thanks in advance for your help ;-)
Guido.
___
riak-users mailing list
riak-users@lists.basho.com 
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



Code Sync & Erlang Solutions Conferences

Code BEAM Lite 
- 
Budapest: 20 September 2019


Code BEAM Lite 
- New 
York City: 01 October 2019


Code BEAM Lite 
- Berlin: 
11 October 2019


RabbitMQ Summit 
- London: 
4 November 2019


Code Mesh LDN 
- London: 
7-8 November 2019


Code BEAM Lite 
- 
Bangalore: 14 November 2019


Code BEAM Lite 
- 
Amsterdam: 29 November 2019


Lambda Days 
- Kraków: 
13-14 February 2020


Code BEAM SF 
- San 
Francisco: 5-6 March 2020


Code BEAM STO - Stockholm: 28-29 May 2020

/Erlang Solutions cares about your data and privacy; please find all 
details about the basis for communicating with you and the way we 
process your data in our //Privacy Policy/ 
/.You can update 
your email preferences or opt-out from receiving Marketing emails here 
./




___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: File corruption after power cut

2019-09-04 Thread Bryan Hunt
Easiest solution is to just delete the vnode - and let it recover from replicas 
- vnode directory will be 844930634081928249586505293914101120738586001408



> On 4 Sep 2019, at 10:01, Guido Medina  wrote:
> 
> Hi all,
> 
> We had a power cut which caused one of the nodes to corrupt one of the 
> LevelDB files, after this that node doesn't even want to start, here is the 
> error we are seeing:
>> 2019-09-04 08:46:41.584 [error] <0.2329.0>@riak_kv_vnode:init:527 Failed to 
>> start riak_kv_eleveldb_backend backend for index 
>> 844930634081928249586505293914101120738586001408 error: 
>> {db_open,"Corruption: CURRENT file does not end with newline"}
> 
> Thanks in advance for your help ;-)
> Guido.
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


-- 


Code Sync & Erlang Solutions Conferences

Code BEAM Lite 
 - Budapest: 
20 September 2019

Code BEAM Lite 
 - New York 
City: 01 October 2019

Code BEAM Lite 
 - Berlin: 11 
October 2019

RabbitMQ Summit 
 - London: 4 
November 2019

Code Mesh LDN 
 - London: 7-8 
November 2019

Code BEAM Lite 
 - Bangalore: 
14 November 2019

Code BEAM Lite 
 - Amsterdam: 
29 November 2019

Lambda Days 
 - Kraków: 
13-14 February 2020

Code BEAM SF 
 - San 
Francisco: 5-6 March 2020



Code BEAM STO - Stockholm: 28-29 May 2020





*Erlang Solutions cares about your data and privacy; please find all 
details about the basis for communicating with you and the way we process 
your data in our **Privacy Policy* 
*.You can update your 
email preferences or opt-out from receiving Marketing emails here 
.*
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


File corruption after power cut

2019-09-04 Thread Guido Medina

Hi all,

We had a power cut which caused one of the nodes to corrupt one of the 
LevelDB files, after this that node doesn't even want to start, here is 
the error we are seeing:
2019-09-04 08:46:41.584 [error] <0.2329.0>@riak_kv_vnode:init:527 
Failed to start riak_kv_eleveldb_backend backend for index 
844930634081928249586505293914101120738586001408 error: 
{db_open,"Corruption: CURRENT file does not end with newline"}


Thanks in advance for your help ;-)
Guido.
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com