fresh setup - error

Hello Team, trying a fresh installation of adonis-framewok but i got the following error:
installing dependencies... /npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Emmanuel\AppDat
a\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--no-optional"
npm ERR! node v4.6.0
npm ERR! npm  v3.10.8
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin",
"arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Emmanuel\Documents\Adonis\yardstick\npm-debug.log
Please help!!!

@litunny this issue is multi duplicate, please read documentation carefully, you must update node and npm to latest version

I have updated the node and npm, but the error still persists.

@litunny Node and Npm versions seems fine to me.
fsevents is so weird on Windows, so do npm install inside the project directory as follows.
npm i --no-optional

Okay @thetutlage , i will give that a try, thank you.

After trying npm i --no-optional i got the following error:
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>(git://github.com/crypto-utils/keygrip.git#f7b41c2f305cfa7030 d7da9e64af9790aa3be93a) | +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | | --<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | | +--<EMAIL_ADDRESS>| | | | --<EMAIL_ADDRESS>| | | --<EMAIL_ADDRESS>| | |   +--<EMAIL_ADDRESS>| | |   +--<EMAIL_ADDRESS>| | |   --<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   --<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>|   |   +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | | +--<EMAIL_ADDRESS>|   |   | | --<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | --<EMAIL_ADDRESS>|   |   --<EMAIL_ADDRESS>|   |     --<EMAIL_ADDRESS>|   |       +--<EMAIL_ADDRESS>|   |       +--<EMAIL_ADDRESS>|   |       --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Emmanuel\AppDat
a\Roaming\npm\node_modules\npm\bin\npm-cli.js" "i" "--no-optional"
npm ERR! node v4.6.0
npm ERR! npm  v3.10.8
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin",
"arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Emmanuel\Documents\RowStick\npm-debug.log
What could cause this error?

Would you try to start the server now? npm run dev

When I ran
npm run dev
i got the following in my console:
C:\Users\Emmanuel\Documents\RowStick>npm run dev

<EMAIL_ADDRESS>dev C:\Users\Emmanuel\Documents\RowStick
nodemon --watch app --watch bootstrap --watch config --watch .env -x "node --h
armony_proxies" server.js

[nodemon] 1.11.0
[nodemon] to restart at any time, enter rs
[nodemon] watching: C:\Users\Emmanuel\Documents\RowStick\app//* C:\Users\Emman
uel\Documents\RowStick\bootstrap//* C:\Users\Emmanuel\Documents\RowStick\confi
g/**/* .env
[nodemon] starting node --harmony_proxies server.js
module.js:327
throw err;
^
Error: Cannot find module 'adonis-fold'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (C:\Users\Emmanuel\Documents\RowStick\bootstrap\http.j
s:14:14)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
[nodemon] app crashed - waiting for file changes before starting...

Hello Team, when I tried the whole installation process on macintosh, everything went all well.

I updated my node
Updated my npm as well
Created a new project
Finally, I was able to serve my project and view on the browser.

What i figured out is, there are some fragment of the whole installation of framework / project that crashes on windows machine.
I really want this to work on windows, I love this framework and I cannot wait to get my hands dirty with it, as infact I'm very much interested, and I would like to say well done so far.
Please kindly help to look into this issue.
Thanks

@litunny The main issue seems to be with fsevents itself. We can get rid of it but I have to create a PR for nunjucks since nunjucks uses chokidar which using fsevents.
Also npm install --no-optional seems to work on windows. Can u please remove the entire project and re-create it. This time upon installation failure use the below commands.
npm cache clear
npm install --no-optional

When I try recreating the project using "adonis new Laurick", i got the following error:
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>(git://github.com/crypto-utils/keygrip.git#f7b41c2f305cfa7030 d7da9e64af9790aa3be93a) | +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | | --<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | | +--<EMAIL_ADDRESS>| | | | --<EMAIL_ADDRESS>| | | --<EMAIL_ADDRESS>| | |   +--<EMAIL_ADDRESS>| | |   +--<EMAIL_ADDRESS>| | |   --<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   --<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>|   |   +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | | +--<EMAIL_ADDRESS>|   |   | | --<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | --<EMAIL_ADDRESS>|   |   --<EMAIL_ADDRESS>|   |     --<EMAIL_ADDRESS>|   |       +--<EMAIL_ADDRESS>|   |       +--<EMAIL_ADDRESS>|   |       --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Emmanuel\AppDat
a\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--no-optional"
npm ERR! node v4.6.0
npm ERR! npm  v3.10.8
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin",
"arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64
installing dependencies... /
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Emmanuel\Documents\Adonis\Laurick\npm-debug.log
undefined

then i ran:
npm cache clear
npm install --no-optional
i go the following errors:
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | | --<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | | +--<EMAIL_ADDRESS>| | | | --<EMAIL_ADDRESS>| | | --<EMAIL_ADDRESS>| | |   +--<EMAIL_ADDRESS>| | |   +--<EMAIL_ADDRESS>| | |   --<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   --<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>|   |   +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | | +--<EMAIL_ADDRESS>|   |   | | --<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | +--<EMAIL_ADDRESS>|   |   | --<EMAIL_ADDRESS>|   |   --<EMAIL_ADDRESS>|   |     --<EMAIL_ADDRESS>|   |       +--<EMAIL_ADDRESS>|   |       +--<EMAIL_ADDRESS>|   |       --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>--<EMAIL_ADDRESS> --<EMAIL_ADDRESS>npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Emmanuel\AppDat
a\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--no-optional"
npm ERR! node v4.6.0
npm ERR! npm  v3.10.8
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin",
"arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64

The npm seems to be having some weird issues with optional dependencies. I would suggest reading this thread once https://github.com/npm/npm/issues/9204#issuecomment-216853959

Closing since related to fsevents

Hello Please help me out

Hey @188Krish!
You are installing angular. This a nothing to do with AdonisJs. 😄
Please, open a new issue next time. It's easier for us to follow it.

npm ERR! code EINVALIDPACKAGENAME
npm ERR! Invalid package name "_ansi-regex@2.1.1@ansi-regex": name cannot start with an underscore; name can only contain URL-friendly characters
npm ERR!      C:\Users\John\AppData\Roaming\npm-cache_logs\2017-09-30T04_52_47_996Z-debug.log
What could cause this error?

I think the error speak for itself
npm ERR! Invalid package name "_ansi-regex@2.1.1@ansi-regex": name cannot start with an underscore; name can only contain URL-friendly characters

You must have a bad package ;)


doc: update Playbook chapter

Playbook chapter was a little cryptic. It was expended and re-arranged for more clarity.
Usage examples were provided.

Hey @sqazi , could you explain the idea behind TypeARowMapping a little bit?
Where it came from?
https://github.com/antmicro/litex-rowhammer-tester/blob/691f7384fe1b64ed54b5d57cb6477c68eccfd09a/rowhammer_tester/scripts/playbook/row_mappings/__init__.py#L26

Also @sqazi PTAL at this whole PR, since it's documentation to your work. Generated docs are here:
https://litex-rowhammer-tester.readthedocs.io/en/expand-playbook/playbook.html#

Thank you for explanation, much appreciated! I linked the docs you mentioned in the documentation.


RaftNode example eventually stops making progress when saving 10 times x second

This is about the issues being discussed here https://github.com/dotnet/dotNext/issues/184#issuecomment-1660673297.
The issue has been reproduced both in linux arm 32 bit in raspberry os (debian based) and linux debian 64 bit in wsl. At least one reproduction had all 3 nodes running, but due to the investigation of a different issue the cluster was often running with 2 out of the 3 nodes.
There are 2 observations surrounding the issue:

there are often leader changes, so the term can easily reach 200 if left running for 1-3 hours
eventually progress stops. When this happens there are leader change events reported.

Presumably the frequent leader changes make the issue easier to reproduce, as there is a chance it only happens during leader changes.
The issue has been reproduced in the 14.13, 14.12.3 and 4.4.1 and in all cases it has taken under a day to get to the failure. The specific settings + entries + behavior + even console output shown over ssh could play a part in making the issue more likely to reproduce, as we have systems that run for months with 4.4.1 writing entries to raft 10 times x second.
In 14.13 and 14.12.3 the issue was observed with similar output to https://github.com/dotnet/dotNext/issues/184#issuecomment-1660235577.
I only made one run in 4.4.1 where progress did stop but the output was different. While in the later versions things suddenly stop after the leader change and potentially a single TaskCanceledException (not sure if it always gets into the screen), in the 4.4.1 run there were a various TaskCanceledException that happened before the stop + some "fail" log entries with "EndOfStreamException: Attempted to read past the end of the stream" by the leader.
I share the detailed 4.4.1 in case the issue was still the same and the old version logs extra info. Of course there is a risk the old version failure was not the same type of failure and is irrelevant for the issue present in the latest versions.
Leader:
Saving value 2446000 generated by the leader node
Accepting value 2446000
Saving value 2446500 generated by the leader node
Accepting value 2446500
Saving value 2447000 generated by the leader node
Accepting value 2447000
Saving value 2447500 generated by the leader node
Accepting value 2447500
Saving value 2448000 generated by the leader node
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\DataModifier.cs:line 32
Consensus cannot be reached
Term of local cluster member is 50. Election timeout 00:00:00.1500000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 53. Election timeout 00:00:00.1880000
Consensus cannot be reached
Term of local cluster member is 53. Election timeout 00:00:00.1880000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 53. Election timeout 00:00:00.1880000
Accepting value 2448000
Accepting value 2448000
Accepting value 2448500
Accepting value 2449000
Building snapshot
fail: DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer[74028]
      Failed to process request from <IP_ADDRESS>:59192
      System.IO.EndOfStreamException: Attempted to read past the end of the stream.
         at DotNext.IO.FileReader.ReadBlockAsync(Memory`1 output, CancellationToken token) in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 404
         at DotNext.IO.FileReader.<>c__DisplayClass1_0`1.<<ReadAsync>g__ReadSlowAsync|0>d.MoveNext() in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 71
      --- End of stack trace from previous location ---
         at RaftNode.SimplePersistentState.SimpleSnapshotBuilder.ApplyAsync(LogEntry entry) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\SimplePersistentState.cs:line 22
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.BuildSnapshotAsync(Int32 sessionId, Int64 upperBoundIndex, SnapshotBuilder builder, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 107
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.ForceSequentialCompactionAsync(Int32 sessionId, Int64 upperBoundIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 608
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.<>c__DisplayClass23_0`1.<<AppendAndCommitAsync>g__CommitAndCompactSequentiallyAsync|0>d.MoveNext() in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 380
      --- End of stack trace from previous location ---
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.AppendAndCommitAsync[TEntry](ILogEntryProducer`1 entries, Int64 startIndex, Boolean skipCommitted, Int64 commitIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 429
         at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.AppendEntriesAsync[TEntry](ClusterMemberId sender, Int64 senderTerm, ILogEntryProducer`1 entries, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, IClusterConfiguration config, Boolean applyConfig, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 488
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.AppendEntriesAsync(ProtocolStream protocol, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 251
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.HandleConnection(Socket remoteClient) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 133
Consensus cannot be reached
Term of local cluster member is 53. Election timeout 00:00:00.1880000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 54. Election timeout 00:00:00.1880000
Saving value 2449500 generated by the leader node
Accepting value 2449500
Accepting value 2449500
Building snapshot
Consensus cannot be reached
Term of local cluster member is 54. Election timeout 00:00:00.1880000
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\DataModifier.cs:line 32
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 55. Election timeout 00:00:00.1880000
Accepting value 2449500
Building snapshot
fail: DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer[74028]
      Failed to process request from <IP_ADDRESS>:59212
      System.IO.EndOfStreamException: Attempted to read past the end of the stream.
         at DotNext.IO.FileReader.ReadBlockAsync(Memory`1 output, CancellationToken token) in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 404
         at DotNext.IO.FileReader.<>c__DisplayClass1_0`1.<<ReadAsync>g__ReadSlowAsync|0>d.MoveNext() in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 71
      --- End of stack trace from previous location ---
         at RaftNode.SimplePersistentState.SimpleSnapshotBuilder.ApplyAsync(LogEntry entry) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\SimplePersistentState.cs:line 22
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.BuildSnapshotAsync(Int32 sessionId, Int64 upperBoundIndex, SnapshotBuilder builder, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 107
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.ForceSequentialCompactionAsync(Int32 sessionId, Int64 upperBoundIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 608
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.<>c__DisplayClass23_0`1.<<AppendAndCommitAsync>g__CommitAndCompactSequentiallyAsync|0>d.MoveNext() in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 380
      --- End of stack trace from previous location ---
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.AppendAndCommitAsync[TEntry](ILogEntryProducer`1 entries, Int64 startIndex, Boolean skipCommitted, Int64 commitIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 429
         at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.AppendEntriesAsync[TEntry](ClusterMemberId sender, Int64 senderTerm, ILogEntryProducer`1 entries, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, IClusterConfiguration config, Boolean applyConfig, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 488
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.AppendEntriesAsync(ProtocolStream protocol, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 251
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.HandleConnection(Socket remoteClient) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 133
Consensus cannot be reached
Term of local cluster member is 55. Election timeout 00:00:00.1880000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 56. Election timeout 00:00:00.1880000
Saving value 2450000 generated by the leader node
Accepting value 2450000
Accepting value 2450000
Building snapshot
Consensus cannot be reached
Term of local cluster member is 56. Election timeout 00:00:00.1880000
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\DataModifier.cs:line 32
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 57. Election timeout 00:00:00.1880000
Accepting value 2450000
Building snapshot
fail: DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer[74028]
      Failed to process request from <IP_ADDRESS>:59224
      System.IO.EndOfStreamException: Attempted to read past the end of the stream.
         at DotNext.IO.FileReader.ReadBlockAsync(Memory`1 output, CancellationToken token) in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 404
         at DotNext.IO.FileReader.<>c__DisplayClass1_0`1.<<ReadAsync>g__ReadSlowAsync|0>d.MoveNext() in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 71
      --- End of stack trace from previous location ---
         at RaftNode.SimplePersistentState.SimpleSnapshotBuilder.ApplyAsync(LogEntry entry) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\SimplePersistentState.cs:line 22
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.BuildSnapshotAsync(Int32 sessionId, Int64 upperBoundIndex, SnapshotBuilder builder, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 107
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.ForceSequentialCompactionAsync(Int32 sessionId, Int64 upperBoundIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 608
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.<>c__DisplayClass23_0`1.<<AppendAndCommitAsync>g__CommitAndCompactSequentiallyAsync|0>d.MoveNext() in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 380
      --- End of stack trace from previous location ---
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.AppendAndCommitAsync[TEntry](ILogEntryProducer`1 entries, Int64 startIndex, Boolean skipCommitted, Int64 commitIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 429
         at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.AppendEntriesAsync[TEntry](ClusterMemberId sender, Int64 senderTerm, ILogEntryProducer`1 entries, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, IClusterConfiguration config, Boolean applyConfig, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 488
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.AppendEntriesAsync(ProtocolStream protocol, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 251
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.HandleConnection(Socket remoteClient) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 133
Consensus cannot be reached
Term of local cluster member is 57. Election timeout 00:00:00.1880000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 58. Election timeout 00:00:00.1880000
Saving value 2450500 generated by the leader node
Accepting value 2450500
Accepting value 2450500
Building snapshot
Consensus cannot be reached
Term of local cluster member is 58. Election timeout 00:00:00.1880000
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\DataModifier.cs:line 32
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 59. Election timeout 00:00:00.1880000
Accepting value 2450500
Building snapshot
fail: DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer[74028]
      Failed to process request from <IP_ADDRESS>:59236
      System.IO.EndOfStreamException: Attempted to read past the end of the stream.
         at DotNext.IO.FileReader.ReadBlockAsync(Memory`1 output, CancellationToken token) in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 404
         at DotNext.IO.FileReader.<>c__DisplayClass1_0`1.<<ReadAsync>g__ReadSlowAsync|0>d.MoveNext() in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 71
      --- End of stack trace from previous location ---
         at RaftNode.SimplePersistentState.SimpleSnapshotBuilder.ApplyAsync(LogEntry entry) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\SimplePersistentState.cs:line 22
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.BuildSnapshotAsync(Int32 sessionId, Int64 upperBoundIndex, SnapshotBuilder builder, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 107
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.ForceSequentialCompactionAsync(Int32 sessionId, Int64 upperBoundIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 608
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.<>c__DisplayClass23_0`1.<<AppendAndCommitAsync>g__CommitAndCompactSequentiallyAsync|0>d.MoveNext() in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 380
      --- End of stack trace from previous location ---
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.AppendAndCommitAsync[TEntry](ILogEntryProducer`1 entries, Int64 startIndex, Boolean skipCommitted, Int64 commitIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 429
         at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.AppendEntriesAsync[TEntry](ClusterMemberId sender, Int64 senderTerm, ILogEntryProducer`1 entries, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, IClusterConfiguration config, Boolean applyConfig, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 488
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.AppendEntriesAsync(ProtocolStream protocol, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 251
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.HandleConnection(Socket remoteClient) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 133
Consensus cannot be reached
Term of local cluster member is 59. Election timeout 00:00:00.1880000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 60. Election timeout 00:00:00.1880000
Saving value 2451000 generated by the leader node
Accepting value 2451000
Accepting value 2451000
Building snapshot
Consensus cannot be reached
Term of local cluster member is 60. Election timeout 00:00:00.1880000
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\DataModifier.cs:line 32
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 61. Election timeout 00:00:00.1880000
Accepting value 2451000
Building snapshot
fail: DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer[74028]
      Failed to process request from <IP_ADDRESS>:59248
      System.IO.EndOfStreamException: Attempted to read past the end of the stream.
         at DotNext.IO.FileReader.ReadBlockAsync(Memory`1 output, CancellationToken token) in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 404
         at DotNext.IO.FileReader.<>c__DisplayClass1_0`1.<<ReadAsync>g__ReadSlowAsync|0>d.MoveNext() in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 71
      --- End of stack trace from previous location ---
         at RaftNode.SimplePersistentState.SimpleSnapshotBuilder.ApplyAsync(LogEntry entry) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\SimplePersistentState.cs:line 22
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.BuildSnapshotAsync(Int32 sessionId, Int64 upperBoundIndex, SnapshotBuilder builder, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 107
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.ForceSequentialCompactionAsync(Int32 sessionId, Int64 upperBoundIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 608
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.<>c__DisplayClass23_0`1.<<AppendAndCommitAsync>g__CommitAndCompactSequentiallyAsync|0>d.MoveNext() in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 380
      --- End of stack trace from previous location ---
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.AppendAndCommitAsync[TEntry](ILogEntryProducer`1 entries, Int64 startIndex, Boolean skipCommitted, Int64 commitIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 429
         at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.AppendEntriesAsync[TEntry](ClusterMemberId sender, Int64 senderTerm, ILogEntryProducer`1 entries, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, IClusterConfiguration config, Boolean applyConfig, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 488
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.AppendEntriesAsync(ProtocolStream protocol, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 251
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.HandleConnection(Socket remoteClient) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 133
Consensus cannot be reached
Term of local cluster member is 61. Election timeout 00:00:00.1880000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 62. Election timeout 00:00:00.1880000
Saving value 2451500 generated by the leader node
Accepting value 2451500
Accepting value 2451500
Building snapshot
Consensus cannot be reached
Term of local cluster member is 62. Election timeout 00:00:00.1880000
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\DataModifier.cs:line 32
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 63. Election timeout 00:00:00.1880000
Accepting value 2451500
Building snapshot
fail: DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer[74028]
      Failed to process request from <IP_ADDRESS>:59260
      System.IO.EndOfStreamException: Attempted to read past the end of the stream.
         at DotNext.IO.FileReader.ReadBlockAsync(Memory`1 output, CancellationToken token) in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 404
         at DotNext.IO.FileReader.<>c__DisplayClass1_0`1.<<ReadAsync>g__ReadSlowAsync|0>d.MoveNext() in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 71
      --- End of stack trace from previous location ---
         at RaftNode.SimplePersistentState.SimpleSnapshotBuilder.ApplyAsync(LogEntry entry) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\SimplePersistentState.cs:line 22
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.BuildSnapshotAsync(Int32 sessionId, Int64 upperBoundIndex, SnapshotBuilder builder, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 107
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.ForceSequentialCompactionAsync(Int32 sessionId, Int64 upperBoundIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 608
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.<>c__DisplayClass23_0`1.<<AppendAndCommitAsync>g__CommitAndCompactSequentiallyAsync|0>d.MoveNext() in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 380
      --- End of stack trace from previous location ---
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.AppendAndCommitAsync[TEntry](ILogEntryProducer`1 entries, Int64 startIndex, Boolean skipCommitted, Int64 commitIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 429
         at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.AppendEntriesAsync[TEntry](ClusterMemberId sender, Int64 senderTerm, ILogEntryProducer`1 entries, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, IClusterConfiguration config, Boolean applyConfig, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 488
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.AppendEntriesAsync(ProtocolStream protocol, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 251
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.HandleConnection(Socket remoteClient) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 133
Consensus cannot be reached
Term of local cluster member is 63. Election timeout 00:00:00.1880000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 64. Election timeout 00:00:00.1880000
Saving value 2452000 generated by the leader node
Accepting value 2452000
Accepting value 2452000
Building snapshot
Consensus cannot be reached
Term of local cluster member is 64. Election timeout 00:00:00.1880000
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\DataModifier.cs:line 32
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 65. Election timeout 00:00:00.1880000
Accepting value 2452000
Building snapshot
fail: DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer[74028]
      Failed to process request from <IP_ADDRESS>:59272
      System.IO.EndOfStreamException: Attempted to read past the end of the stream.
         at DotNext.IO.FileReader.ReadBlockAsync(Memory`1 output, CancellationToken token) in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 404
         at DotNext.IO.FileReader.<>c__DisplayClass1_0`1.<<ReadAsync>g__ReadSlowAsync|0>d.MoveNext() in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 71
      --- End of stack trace from previous location ---
         at RaftNode.SimplePersistentState.SimpleSnapshotBuilder.ApplyAsync(LogEntry entry) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\SimplePersistentState.cs:line 22
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.BuildSnapshotAsync(Int32 sessionId, Int64 upperBoundIndex, SnapshotBuilder builder, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 107
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.ForceSequentialCompactionAsync(Int32 sessionId, Int64 upperBoundIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 608
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.<>c__DisplayClass23_0`1.<<AppendAndCommitAsync>g__CommitAndCompactSequentiallyAsync|0>d.MoveNext() in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 380
      --- End of stack trace from previous location ---
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.AppendAndCommitAsync[TEntry](ILogEntryProducer`1 entries, Int64 startIndex, Boolean skipCommitted, Int64 commitIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 429
         at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.AppendEntriesAsync[TEntry](ClusterMemberId sender, Int64 senderTerm, ILogEntryProducer`1 entries, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, IClusterConfiguration config, Boolean applyConfig, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 488
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.AppendEntriesAsync(ProtocolStream protocol, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 251
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.HandleConnection(Socket remoteClient) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 133
Consensus cannot be reached
Term of local cluster member is 65. Election timeout 00:00:00.1880000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 66. Election timeout 00:00:00.1880000
Saving value 2452500 generated by the leader node
Accepting value 2452500
Accepting value 2452500
Building snapshot
Consensus cannot be reached
Term of local cluster member is 66. Election timeout 00:00:00.1880000
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\DataModifier.cs:line 32
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 67. Election timeout 00:00:00.1880000
Accepting value 2452500
Building snapshot
fail: DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer[74028]
      Failed to process request from <IP_ADDRESS>:59284
      System.IO.EndOfStreamException: Attempted to read past the end of the stream.
         at DotNext.IO.FileReader.ReadBlockAsync(Memory`1 output, CancellationToken token) in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 404
         at DotNext.IO.FileReader.<>c__DisplayClass1_0`1.<<ReadAsync>g__ReadSlowAsync|0>d.MoveNext() in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 71
      --- End of stack trace from previous location ---
         at RaftNode.SimplePersistentState.SimpleSnapshotBuilder.ApplyAsync(LogEntry entry) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\SimplePersistentState.cs:line 22
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.BuildSnapshotAsync(Int32 sessionId, Int64 upperBoundIndex, SnapshotBuilder builder, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 107
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.ForceSequentialCompactionAsync(Int32 sessionId, Int64 upperBoundIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 608
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.<>c__DisplayClass23_0`1.<<AppendAndCommitAsync>g__CommitAndCompactSequentiallyAsync|0>d.MoveNext() in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 380
      --- End of stack trace from previous location ---
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.AppendAndCommitAsync[TEntry](ILogEntryProducer`1 entries, Int64 startIndex, Boolean skipCommitted, Int64 commitIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 429
         at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.AppendEntriesAsync[TEntry](ClusterMemberId sender, Int64 senderTerm, ILogEntryProducer`1 entries, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, IClusterConfiguration config, Boolean applyConfig, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 488
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.AppendEntriesAsync(ProtocolStream protocol, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 251
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.HandleConnection(Socket remoteClient) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 133
Consensus cannot be reached
Term of local cluster member is 67. Election timeout 00:00:00.1880000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 68. Election timeout 00:00:00.1880000
Saving value 2453000 generated by the leader node
Accepting value 2453000
Accepting value 2453000
Building snapshot
Consensus cannot be reached
Term of local cluster member is 68. Election timeout 00:00:00.1880000
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\DataModifier.cs:line 32
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 69. Election timeout 00:00:00.1880000
Accepting value 2453000
Building snapshot
fail: DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer[74028]
      Failed to process request from <IP_ADDRESS>:59296
      System.IO.EndOfStreamException: Attempted to read past the end of the stream.
         at DotNext.IO.FileReader.ReadBlockAsync(Memory`1 output, CancellationToken token) in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 404
         at DotNext.IO.FileReader.<>c__DisplayClass1_0`1.<<ReadAsync>g__ReadSlowAsync|0>d.MoveNext() in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 71
      --- End of stack trace from previous location ---
         at RaftNode.SimplePersistentState.SimpleSnapshotBuilder.ApplyAsync(LogEntry entry) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\SimplePersistentState.cs:line 22
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.BuildSnapshotAsync(Int32 sessionId, Int64 upperBoundIndex, SnapshotBuilder builder, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 107
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.ForceSequentialCompactionAsync(Int32 sessionId, Int64 upperBoundIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 608
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.<>c__DisplayClass23_0`1.<<AppendAndCommitAsync>g__CommitAndCompactSequentiallyAsync|0>d.MoveNext() in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 380
      --- End of stack trace from previous location ---
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.AppendAndCommitAsync[TEntry](ILogEntryProducer`1 entries, Int64 startIndex, Boolean skipCommitted, Int64 commitIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 429
         at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.AppendEntriesAsync[TEntry](ClusterMemberId sender, Int64 senderTerm, ILogEntryProducer`1 entries, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, IClusterConfiguration config, Boolean applyConfig, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 488
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.AppendEntriesAsync(ProtocolStream protocol, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 251
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.HandleConnection(Socket remoteClient) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 133
Consensus cannot be reached
Term of local cluster member is 69. Election timeout 00:00:00.1880000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 70. Election timeout 00:00:00.1880000
Saving value 2453500 generated by the leader node
Accepting value 2453500
Accepting value 2453500
Building snapshot
Consensus cannot be reached
Term of local cluster member is 70. Election timeout 00:00:00.1880000
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\DataModifier.cs:line 32
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 71. Election timeout 00:00:00.1880000
Accepting value 2453500
Building snapshot
fail: DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer[74028]
      Failed to process request from <IP_ADDRESS>:59308
      System.IO.EndOfStreamException: Attempted to read past the end of the stream.
         at DotNext.IO.FileReader.ReadBlockAsync(Memory`1 output, CancellationToken token) in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 404
         at DotNext.IO.FileReader.<>c__DisplayClass1_0`1.<<ReadAsync>g__ReadSlowAsync|0>d.MoveNext() in /_/src/DotNext.IO/IO/FileReader.Binary.cs:line 71
      --- End of stack trace from previous location ---
         at RaftNode.SimplePersistentState.SimpleSnapshotBuilder.ApplyAsync(LogEntry entry) in C:\Users\fredd\source\repos\dotNext\src\Examples\RaftNode\SimplePersistentState.cs:line 22
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.BuildSnapshotAsync(Int32 sessionId, Int64 upperBoundIndex, SnapshotBuilder builder, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 107
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.ForceSequentialCompactionAsync(Int32 sessionId, Int64 upperBoundIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 608
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.<>c__DisplayClass23_0`1.<<AppendAndCommitAsync>g__CommitAndCompactSequentiallyAsync|0>d.MoveNext() in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 380
      --- End of stack trace from previous location ---
         at DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.AppendAndCommitAsync[TEntry](ILogEntryProducer`1 entries, Int64 startIndex, Boolean skipCommitted, Int64 commitIndex, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/MemoryBasedStateMachine.cs:line 429
         at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.AppendEntriesAsync[TEntry](ClusterMemberId sender, Int64 senderTerm, ILogEntryProducer`1 entries, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, IClusterConfiguration config, Boolean applyConfig, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 488
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.AppendEntriesAsync(ProtocolStream protocol, CancellationToken token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 251
         at DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer.HandleConnection(Socket remoteClient) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Tcp/TcpServer.cs:line 133
Consensus cannot be reached
Term of local cluster member is 71. Election timeout 00:00:00.1880000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 72. Election timeout 00:00:00.1880000
Accepting value 2454000
Building snapshot
Saving value 2454500 generated by the leader node

Follower
Accepting value 2446000
Accepting value 2446500
Accepting value 2447000
Accepting value 2447500
Consensus cannot be reached
Term of local cluster member is 50. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 53. Election timeout 00:00:00.2550000
Saving value 2448000 generated by the leader node
Accepting value 2448000
Accepting value 2448000
Saving value 2448500 generated by the leader node
Accepting value 2448500
Saving value 2449000 generated by the leader node
Accepting value 2449000
Building snapshot
Saving value 2449500 generated by the leader node
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToke
n token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dot
Next\src\Examples\RaftNode\DataModifier.cs:line 32
Consensus cannot be reached
Term of local cluster member is 53. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 54. Election timeout 00:00:00.2550000
Consensus cannot be reached
Term of local cluster member is 54. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 55. Election timeout 00:00:00.2550000
Saving value 2449500 generated by the leader node
Accepting value 2449500
Accepting value 2449500
Accepting value 2449500
Saving value 2450000 generated by the leader node
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToke
n token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dot
Next\src\Examples\RaftNode\DataModifier.cs:line 32
Consensus cannot be reached
Term of local cluster member is 55. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 56. Election timeout 00:00:00.2550000
Consensus cannot be reached
Term of local cluster member is 56. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 57. Election timeout 00:00:00.2550000
Saving value 2450000 generated by the leader node
Accepting value 2450000
Accepting value 2450000
Accepting value 2450000
Saving value 2450500 generated by the leader node
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToke
n token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dot
Next\src\Examples\RaftNode\DataModifier.cs:line 32
Consensus cannot be reached
Term of local cluster member is 57. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 58. Election timeout 00:00:00.2550000
Consensus cannot be reached
Term of local cluster member is 58. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 59. Election timeout 00:00:00.2550000
Saving value 2450500 generated by the leader node
Accepting value 2450500
Accepting value 2450500
Accepting value 2450500
Saving value 2451000 generated by the leader node
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, Cancell[95/1924]
n token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dot
Next\src\Examples\RaftNode\DataModifier.cs:line 32
Consensus cannot be reached
Term of local cluster member is 59. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 60. Election timeout 00:00:00.2550000
Consensus cannot be reached
Term of local cluster member is 60. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 61. Election timeout 00:00:00.2550000
Saving value 2451000 generated by the leader node
Accepting value 2451000
Accepting value 2451000
Accepting value 2451000
Saving value 2451500 generated by the leader node
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToke
n token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dot
Next\src\Examples\RaftNode\DataModifier.cs:line 32
Consensus cannot be reached
Term of local cluster member is 61. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 62. Election timeout 00:00:00.2550000
Consensus cannot be reached
Term of local cluster member is 62. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 63. Election timeout 00:00:00.2550000
Saving value 2451500 generated by the leader node
Accepting value 2451500
Accepting value 2451500
Accepting value 2451500
Saving value 2452000 generated by the leader node
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToke
n token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dot
Next\src\Examples\RaftNode\DataModifier.cs:line 32
Consensus cannot be reached
Term of local cluster member is 63. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 64. Election timeout 00:00:00.2550000
Consensus cannot be reached
Term of local cluster member is 64. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 65. Election timeout 00:00:00.2550000
Saving value 2452000 generated by the leader node
Accepting value 2452000
Accepting value 2452000
Accepting value 2452000
Saving value 2452500 generated by the leader node
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToke
n token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dot
Next\src\Examples\RaftNode\DataModifier.cs:line 32
Consensus cannot be reached
Term of local cluster member is 65. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 66. Election timeout 00:00:00.2550000
Consensus cannot be reached
Term of local cluster member is 66. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 67. Election timeout 00:00:00.2550000
Saving value 2452500 generated by the leader node
Accepting value 2452500
Accepting value 2452500
Accepting value 2452500
Saving value 2453000 generated by the leader node
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, Cancell[23/1924]
n token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dot
Next\src\Examples\RaftNode\DataModifier.cs:line 32
Consensus cannot be reached
Term of local cluster member is 67. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 68. Election timeout 00:00:00.2550000
Consensus cannot be reached
Term of local cluster member is 68. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 69. Election timeout 00:00:00.2550000
Saving value 2453000 generated by the leader node
Accepting value 2453000
Accepting value 2453000
Accepting value 2453000
Saving value 2453500 generated by the leader node
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToke
n token) in /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dot
Next\src\Examples\RaftNode\DataModifier.cs:line 32
Consensus cannot be reached
Term of local cluster member is 69. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 70. Election timeout 00:00:00.2550000
Consensus cannot be reached
Term of local cluster member is 70. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 71. Election timeout 00:00:00.2550000
Saving value 2453500 generated by the leader node
Accepting value 2453500
Accepting value 2453500
Accepting value 2453500
Saving value 2454000 generated by the leader node
Unexpected error System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at DotNext.Net.Cluster.Consensus.Raft.RaftCluster`1.ReplicateAsync[TEntry](TEntry entry, CancellationToken token) in
 /_/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/RaftCluster.cs:line 898
   at RaftNode.DataModifier.ExecuteAsync(CancellationToken stoppingToken) in C:\Users\fredd\source\repos\dotNext\src\Ex
amples\RaftNode\DataModifier.cs:line 32
Consensus cannot be reached
Term of local cluster member is 71. Election timeout 00:00:00.2550000
New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
Term of local cluster member is 72. Election timeout 00:00:00.2550000
Consensus cannot be reached
Term of local cluster member is 72. Election timeout 00:00:00.2550000

Ok, looking at the 4.4.1 output again I can see that all this failure repetition is actuall leader changes, as you can see it reporting a different leader ip. Since the leadership token would be signaled that explains the canceled exceptions.
Is there a chance the difference in logging output of 4.4.1 vs later versions to be related to the fixes for #168? After all, those changes can cause less intermediate leader changes from being reported.
I find it likely that those previous leader changes are just the usual behavior and only the last change when it gets stuck is some different case being hit  which is the bit that might be the same in all versions.

If we focus instead on the last outputs:

in 4.4.1 we had a a leader change with both nodes reporting the new leader but the now follower later stating there is no concensus. The now leader's last actions were building a snapshot and reporting saving a value (that was previously logged as accepted)
in the later version we had a leader change with both nodes reporting the new leader. The now leader's last actions were reporting saving a value, which then shows in both nodes as accepted. And finally the leader reports building a snapshot as its last action.

So not exactly the same last logged actions. Should I do a capture on the latest version with more detailed logging, maybe that could clarify what goes on when it stops?

Is there a chance the difference in logging output of 4.4.1 vs later versions

It was minor change for ForceReplicationAsync method, Task replaced by ValueTask to remove some memory allocations in hot path (ReplicateAsync is called very frequently for every change). So logging itself is not changed, but stacktrace.

Should I do a capture on the latest version with more detailed logging

Yes please. It's good know what happening with Raft internals exactly at this moment.

Attached the log files. Its easy to spot when it stops making progress, as it is the last time Accepting/Saving messages show in all the logs.
raftnodetest.zip
In short, after the last leader election the followers (where the last "Member is downgrading" until "Incoming configuration with" keeps repeating):
2023-08-03 11:12:54.7453|INFO|RaftNode.ClusterConfigurator|New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
2023-08-03 11:12:54.7453|INFO|RaftNode.ClusterConfigurator|Term of local cluster member is 82. Election timeout 00:00:00.2470000
2023-08-03 11:12:54.8398|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member is downgrading to follower state with term 82
2023-08-03 11:12:54.8398|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Election timeout is refreshed
2023-08-03 11:12:54.8398|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member is downgraded to follower state with term 82
2023-08-03 11:12:54.8612|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Incoming configuration with<PHONE_NUMBER>73552492 fingerprint from leader. Local fingerprint is<PHONE_NUMBER>73552492, apply False
2023-08-03 11:12:54.8686|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member is downgrading to follower state with term 82
2023-08-03 11:12:54.8686|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Election timeout is refreshed
2023-08-03 11:12:54.8686|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member is downgraded to follower state with term 82
2023-08-03 11:12:54.8803|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Incoming configuration with<PHONE_NUMBER>73552492 fingerprint from leader. Local fingerprint is<PHONE_NUMBER>73552492, apply True
2023-08-03 11:12:54.9611|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member is downgrading to follower state with term 82
2023-08-03 11:12:54.9611|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Election timeout is refreshed
2023-08-03 11:12:54.9611|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member is downgraded to follower state with term 82
2023-08-03 11:12:54.9611|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Incoming configuration with<PHONE_NUMBER>73552492 fingerprint from leader. Local fingerprint is<PHONE_NUMBER>73552492, apply True

while the leader (where the last "Replication of member ... started" until "Local changes are not committed" keeps repeating):
2023-08-03 11:12:54.7414|INFO|RaftNode.ClusterConfigurator|New cluster leader is elected. Leader address is <IP_ADDRESS>:3262
2023-08-03 11:12:54.7414|INFO|RaftNode.ClusterConfigurator|Term of local cluster member is 82. Election timeout 00:00:00.1870000
2023-08-03 11:12:54.7414|INFO|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Transition to Leader state has completed with term 82
2023-08-03 11:12:54.7414|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of member <IP_ADDRESS>:3262 started at log index 12075
2023-08-03 11:12:54.7414|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of <IP_ADDRESS>:3262 contains 0 entries. Preceding entry has index 12074 and term 82. Local fingerprint is 0, remote is<PHONE_NUMBER>73552492, apply False
2023-08-03 11:12:54.7414|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of member <IP_ADDRESS>:3262 started at log index 12075
2023-08-03 11:12:54.7414|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of <IP_ADDRESS>:3262 contains 0 entries. Preceding entry has index 12074 and term 82. Local fingerprint is 0, remote is<PHONE_NUMBER>73552492, apply False
2023-08-03 11:12:54.7414|WARN|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of <IP_ADDRESS>:3262 is failed. Retry replication from entry 12074
2023-08-03 11:12:54.7414|WARN|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of <IP_ADDRESS>:3262 is failed. Retry replication from entry 12074
2023-08-03 11:12:54.7414|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Local changes are not committed. Quorum is 3, last committed entry is 12072
2023-08-03 11:12:54.8366|INFO|RaftNode.DataModifier|Saving value 5996500 generated by the leader node
2023-08-03 11:12:54.8366|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of member <IP_ADDRESS>:3262 started at log index 12074
2023-08-03 11:12:54.8366|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of member <IP_ADDRESS>:3262 started at log index 12074
2023-08-03 11:12:54.8366|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of <IP_ADDRESS>:3262 contains 2 entries. Preceding entry has index 12073 and term 80. Local fingerprint is 0, remote is<PHONE_NUMBER>73552492, apply False
2023-08-03 11:12:54.8366|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of <IP_ADDRESS>:3262 contains 2 entries. Preceding entry has index 12073 and term 80. Local fingerprint is 0, remote is<PHONE_NUMBER>73552492, apply False
2023-08-03 11:12:54.8461|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member <IP_ADDRESS>:3262 is replicated successfully starting from index 12074
2023-08-03 11:12:54.8613|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member <IP_ADDRESS>:3262 is replicated successfully starting from index 12074
2023-08-03 11:12:54.8613|INFO|RaftNode.SimplePersistentState|Accepting value 5996500
2023-08-03 11:12:54.8613|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|All changes at index 12073 are committed. The number of committed entries is 2
2023-08-03 11:12:54.8613|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of member <IP_ADDRESS>:3262 started at log index 12076
2023-08-03 11:12:54.8613|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of <IP_ADDRESS>:3262 contains 0 entries. Preceding entry has index 12075 and term 82. Local fingerprint is<PHONE_NUMBER>73552492, remote is<PHONE_NUMBER>73552492, apply True
2023-08-03 11:12:54.8613|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of member <IP_ADDRESS>:3262 started at log index 12076
2023-08-03 11:12:54.8613|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of <IP_ADDRESS>:3262 contains 0 entries. Preceding entry has index 12075 and term 82. Local fingerprint is<PHONE_NUMBER>73552492, remote is<PHONE_NUMBER>73552492, apply True
2023-08-03 11:12:54.8613|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member <IP_ADDRESS>:3262 is replicated successfully starting from index 12076
2023-08-03 11:12:54.8804|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member <IP_ADDRESS>:3262 is replicated successfully starting from index 12076
2023-08-03 11:12:54.8804|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Local changes are not committed. Quorum is 3, last committed entry is 12074
2023-08-03 11:12:54.9590|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of member <IP_ADDRESS>:3262 started at log index 12076
2023-08-03 11:12:54.9590|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of member <IP_ADDRESS>:3262 started at log index 12076
2023-08-03 11:12:54.9590|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of <IP_ADDRESS>:3262 contains 0 entries. Preceding entry has index 12075 and term 82. Local fingerprint is<PHONE_NUMBER>73552492, remote is<PHONE_NUMBER>73552492, apply True
2023-08-03 11:12:54.9590|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Replication of <IP_ADDRESS>:3262 contains 0 entries. Preceding entry has index 12075 and term 82. Local fingerprint is<PHONE_NUMBER>73552492, remote is<PHONE_NUMBER>73552492, apply True
2023-08-03 11:12:54.9624|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member <IP_ADDRESS>:3262 is replicated successfully starting from index 12076
2023-08-03 11:12:54.9624|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Member <IP_ADDRESS>:3262 is replicated successfully starting from index 12076
2023-08-03 11:12:54.9624|DEBUG|DotNext.Net.Cluster.Consensus.Raft.RaftCluster|Local changes are not committed. Quorum is 3, last committed entry is 12074

The root cause is a concurrency between a thread running replication method and DataModifier threading appending new entry. Now it is fixed (I hope so). Also, I removed some memory allocations where possible for acceptable price (from code readability point of view).
A few thoughts about memory growth: heartbeat loop uses SustainedLowLatency GC latency mode during heartbeat, but not between them:
https://github.com/dotnet/dotNext/blob/e29b972ecddd2610a45ecd402f78755c79adc977/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/LeaderState.cs#L218-L224
It is necessary to prevent GC intrusion during heartbeat to avoid false positive timeouts. Between heartbeats GC is free to reclaim unused object. The implementation automatically reduced heartbeat period if GC happened in between.

looks good, the run is still going strong well past the point of all the previous failures running the example in that environment.

@freddyrios , I'll publish a new release this week.


Improve Vaccination Data download tool and unit test

This function is way too long and some parts aren't tested yet. Some unittests don't work as intended.
Following points should be solved:

extract sanitize data tool from Vaccination Data so it can be tested easily (currently skipped in unit tests).
Unit test for alternative agegroups prints 'Error in transformation...'.
Unit test for intervall mapping is skipped (maybe move this tool to modifyDataframeSeries)
Check ToDos in this function, as there are currently 11. Either solve or move to new Issues.

This issue will be seperated in several smaller issues for better handling of all mentioned points.

All points are solved for now. Most TODOs are adressed in #193


[stable/fluent-bit] Fix bad space for timeKeep

Signed-off-by: vroyer<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[ ] Chart Version bumped
[ ] Variables are documented in the README.md

@vroyer please rebase your branch and bump the chart version
thanks!

/lgtm


EC:<IP_ADDRESS> xrefs

EC:<IP_ADDRESS>
Name: multiple inositol-polyphosphate phosphatase
Alt names: inositol (1,3,4,5)-tetrakisphosphate 3-phosphatase, inositol-1,3,4,5-tetrakisphosphate 3-phosphatase, inositol 1,3,4,5-tetrakisphosphate 3-phosphomonoesterase, inositol 1,3,4,5-tetrakisphosphate-5-phosphomonoesterase, inositol tetrakisphosphate phosphomonoesterase, MIPP
Reaction: myo-inositol hexakisphosphate + H2O <=> myo-inositol pentakisphosphate (mixed isomers) + phosphate
Comments: Also acts on Ins(1,3,4,5)P4 to yield Ins(1,4,5)P3.
This EC is currently an xref on these two parent-and-child terms:
id: GO:0004446
name: inositol-hexakisphosphate phosphatase activity
def: "Catalysis of the reaction: myo-inositol hexakisphosphate + H2O = myo-inositol pentakisphosphate (mixed isomers) + phosphate." [EC:<IP_ADDRESS>]
xref: EC:<IP_ADDRESS>
xref: MetaCyc:RXN-7920
is_a: GO:0052745 ! inositol phosphate phosphatase activity
id: GO:0052826
name: inositol hexakisphosphate 2-phosphatase activity
def: "Catalysis of the reaction: myo-inositol hexakisphosphate + H2O = myo-inositol 1,3,4,5,6-pentakisphosphate + phosphate." [EC:<IP_ADDRESS>]
xref: EC:<IP_ADDRESS>
is_a: GO:0004446 ! inositol-hexakisphosphate phosphatase activity
From the EC:<IP_ADDRESS> comment and alt names, it should also be an xref on the related GO:0051717 term:
id: GO:0051717
name: inositol-1,3,4,5-tetrakisphosphate 3-phosphatase activity
def: "Catalysis of the reaction: inositol-1,3,4,5-tetrakisphosphate + H2O = inositol-1,4,5-trisphosphate + phosphate." [GOC:bf, MetaCyc:<IP_ADDRESS>-RXN]
synonym: "inositol (1,3,4,5)-tetrakisphosphate 3-phosphatase activity" RELATED [EC:2.7.1.-]
synonym: "inositol 1,3,4,5-tetrakisphosphate 3-phosphomonoesterase activity" RELATED [EC:2.7.1.-]
synonym: "inositol 1,3,4,5-tetrakisphosphate-5-phosphomonoesterase activity" RELATED [EC:2.7.1.-]
xref: MetaCyc:<IP_ADDRESS>-RXN
is_a: GO:0052743 ! inositol tetrakisphosphate phosphatase activity
Also, it's odd that the synonyms on GO:0051717 are attributed to 'EC:2.7.1.-' (= Phosphotransferases with an alcohol group as acceptor) - that doesn't make sense...

Also, should remove the hyphen from "inositol-hexakisphosphate phosphatase activity" (GO:0004446) to be consistent with sister terms:
GO:0046030 inositol trisphosphate phosphatase activity
GO:0052743 inositol tetrakisphosphate phosphatase activity
GO:0016312 inositol bisphosphate phosphatase activity
GO:0052834 inositol monophosphate phosphatase activity
GO:0004446 inositol-hexakisphosphate phosphatase activity
GO:0052827 inositol pentakisphosphate phosphatase activity

I have just updated the EC <IP_ADDRESS> entry at IUBMB. The updated entry is currently in progress in the IUBMB system, so it will take some time before the changes will become public.
name: multiple inositol-polyphosphate phosphatase
alt name: MIPP; phytase (ambiguous); 1D-myo-inositol-hexakisphosphate 5-phosphohydrolase (incorrect)
reactions: (1) myo-inositol hexakisphosphate + H2O = 1D-myo-inositol 1,2,4,5,6-pentakisphosphate + phosphate
(2) 1D-myo-inositol 1,2,4,5,6-pentakisphosphate + H2O = 1D-myo-inositol 1,2,5,6-tetrakisphosphate + phosphate
(3) 1D-myo-inositol 1,2,5,6-tetrakisphosphate + H2O = 1D-myo-inositol 1,2,6-trisphosphate + phosphate
(4) 1D-myo-inositol 1,2,6-trisphosphate + H2O = 1D-myo-inositol 1,2-bisphosphate + phosphate
(5) 1D-myo-inositol 1,2-bisphosphate + H2O = 1D-myo-inositol 2-phosphate + phosphate
Comments: This ubiquitous enzyme degrades myo-inositol hexakisphosphate (phytate) to Ins(2,3)P2 and Ins(2)P. Activities have been characterized in the yeast Saccharomyces cerevisiae [2], the plant Lupinus albus [3] and the bacteria Bacillus sp. [4] and Raoultella terrigena [5]. In mammal cells Ins(2,3)P2 and Ins(2)P are the major inositol phosphate compounds found [6]. The mammal enzyme is also active on Ins(1,3,4,5,6)P5 that is dephosphorylated to Ins(1,4,5,6)P4 and Ins(1,4,5)P3, and on 2,3-bisphospho-D-glycerate (cf. EC <IP_ADDRESS>, 2,3-bisphosphoglycerate 3-phosphatase). In addition, it acts on Ins(1,3,4,5)P4 to yield Ins(1,4,5)P3 in vitro (cf. EC <IP_ADDRESS>, phosphatidylinositol-3,4,5-trisphosphate 3-phosphatase) [7]. It does not hydrolyse phosphates from the 2-positions of inositol phosphates [6]. In other organisms the degradation of phytate follows different routes. (cf. EC <IP_ADDRESS>, 3-phytase, EC <IP_ADDRESS>, 4-phytase, and EC <IP_ADDRESS>, 5-phytase).
Refs: 9359836, 11368581, 12405789, 12556126, 16917535, 36589890, 37371464

Thanks @kaxelsen !
So this EC covers many individual reactions, and so doesn't map 1:1 to any GO activity term.
Based on the revised EC entry, I'd suggest we:

[ ] either (i) not add the EC <IP_ADDRESS> xref to any GO terms (since it represents several activities), or (ii) create all the individual reactions listed in the revised EC def (none of reactions 1-5 appear to be in the current GO?) and add EC <IP_ADDRESS> as a narrow xref to all of them

[ ] modify the GO:0004446 inositol-hexakisphosphate phosphatase activity def to match that of all its sister (=grouping) terms, ie "Catalysis of the reaction: myo-inositol hexakisphosphate + H2O = myo-inositol pentakisphosphate + phosphate." and remove the EC <IP_ADDRESS> xref

[ ] obsolete the child GO:0052826 inositol hexakisphosphate 2-phosphatase activity, since this reaction doesn't seem to be covered by the EC <IP_ADDRESS> description at all (and there's no EXP annotations to that GO term)


Move signs one column to the right.

Hi, currently my mark signs are formated in the following way:

I would like it to be displayed right between the "5" and "7" in this example, but I don't see any formatting option to make it.
Thanks.

I believe that the recently merged 'statuscolumn' feature in Neovim could be used to implement some version of this.