profile
viewpoint

alteregoart/2020-S2 0

UX/UI, Visualisation and Code

alteregoart/edu 0

Educational resources including labs and courses from Eurecom

alteregoart/france-geojson 0

Contours des régions, départements, arrondissements, cantons et communes de France (métropole et départements d'outre-mer) au format GeoJSON

alteregoart/git-cliff 0

A highly customizable Changelog Generator that follows Conventional Commit specifications ⛰️

alteregoart/jurismatic 0

http://www.jurismatic.com

alteregoart/tempescope 0

Code+CAD data for tempescope

alteregoart/tomahawk 0

Tomahawk, the multi-source music player

startedpikvm/ustreamer

started time in 2 hours

startedOptimalBits/bull

started time in 6 days

startedOptimalBits/bull

started time in 6 days

startedHopding/pdf-lib

started time in 6 days

startedZBar/ZBar

started time in 8 days

startedtonarino/innernet

started time in 10 days

startedAppFlowy-IO/appflowy

started time in 12 days

startedknative/docs

started time in 16 days

startedkubernetes/kops

started time in 18 days

startedccampbell/mousetrap

started time in 22 days

startedEthereal-Developers-Inc/OpenScan

started time in 23 days

startedsupermerill/SuperSlicer

started time in a month

startedsyproduction/ipodrpi

started time in a month

issue openedtypesense/typesense

Error in libc during snapshot exit the process and stop the service

Description

Error in libc during snapshot exit the process

Steps to reproduce

Sorry I don't know how to reproduce the error

Expected Behavior

I am not sure but I think that error in snapshot should not cause the service to go down ?

Actual Behavior

I20211018 09:56:43.576392    91 raft_server.h:58] Peer refresh succeeded!
I20211018 09:56:53.577672    81 raft_server.cpp:565] Term: 2, last_index index: 543, committed_index: 543, known_applied_index: 541, applying_index: 0, pending_index: 0, disk_index: 542, pending_queue_size: 0, local_sequence: 9473
I20211018 09:56:53.577786    88 raft_server.h:58] Peer refresh succeeded!
I20211018 09:57:03.517000    86 node.cpp:911] node default_group:172.20.0.2:8107:443 starts to do snapshot
I20211018 09:57:03.517168    86 raft_server.cpp:468] on_snapshot_save
I20211018 09:57:03.521546    86 raft_server.cpp:412] save_snapshot called
I20211018 09:57:03.527626    86 snapshot.cpp:638] Deleting /data/state/snapshot/snapshot_00000000000000000543
I20211018 09:57:03.527647    86 snapshot.cpp:644] Renaming /data/state/snapshot/temp to /data/state/snapshot/snapshot_00000000000000000543
I20211018 09:57:03.527663    86 snapshot.cpp:516] Deleting /data/state/snapshot/snapshot_00000000000000000541
I20211018 09:57:03.527858    86 snapshot_executor.cpp:234] node default_group:172.20.0.2:8107:443 snapshot_save_done, last_included_index=543 last_included_term=2
F20211018 09:57:03.527879    86 configuration_manager.cpp:48] Check failed: entry.id >= _snapshot.id ((index=543,term=2) vs. (index=541,term=3)) 
E20211018 09:57:04.462241    86 backward.hpp:4203] Stack trace (most recent call last) in thread 86:
E20211018 09:57:04.462963    86 backward.hpp:4203] #12   Object "/opt/typesense-server", at 0xe6f480, in bthread_make_fcontext
E20211018 09:57:04.462975    86 backward.hpp:4203] #11   Object "/opt/typesense-server", at 0xd1432e, in bthread::TaskGroup::task_runner(long)
E20211018 09:57:04.462987    86 backward.hpp:4203] #10   Source "/opt/braft-c649789133566dc06e39ebd0c69a824f8e98993a/src/braft/snapshot_executor.cpp", line 312, in continue_run [0xc863a6]
E20211018 09:57:04.462994    86 backward.hpp:4203] #9    Source "/opt/braft-c649789133566dc06e39ebd0c69a824f8e98993a/src/braft/snapshot_executor.cpp", line 235, in on_snapshot_save_done [0xc838f8]
E20211018 09:57:04.463001    86 backward.hpp:4203] #8    Source "/opt/braft-c649789133566dc06e39ebd0c69a824f8e98993a/src/braft/log_manager.cpp", line 642, in set_snapshot [0xcbc5ba]
E20211018 09:57:04.463007    86 backward.hpp:4203] #7    Source "/opt/braft-c649789133566dc06e39ebd0c69a824f8e98993a/src/braft/configuration_manager.cpp", line 48, in set_snapshot [0xcd1271]
E20211018 09:57:04.463013    86 backward.hpp:4203] #6    Object "/opt/typesense-server", at 0x1456a61, in google::LogMessageFatal::~LogMessageFatal()
E20211018 09:57:04.463021    86 backward.hpp:4203] #5    Object "/opt/typesense-server", at 0x1453587, in google::LogMessage::Flush()
E20211018 09:57:04.463027    86 backward.hpp:4203] #4    Object "/opt/typesense-server", at 0x1453c45, in google::LogMessage::SendToLog()
E20211018 09:57:04.463033    86 backward.hpp:4203] #3    Object "/opt/typesense-server", at 0x1453ce7, in google::LogMessage::Fail()
E20211018 09:57:04.463039    86 backward.hpp:4203] #2    Object "/opt/typesense-server", at 0x145af7f, in google::DumpStackTraceAndExit()
E20211018 09:57:04.463050    86 backward.hpp:4203] #1    Object "/lib/x86_64-linux-gnu/libc-2.23.so", at 0x7f4199a2d039, in abort
E20211018 09:57:04.463057    86 backward.hpp:4203] #0    Object "/lib/x86_64-linux-gnu/libc-2.23.so", at 0x7f4199a2b438, in raise

Metadata

Typsense Version: 0.21.0 OS: docker

created time in a month

issue openedtypesense/typesense

Error during snapshot does not kill the docker but put the service in ERROR state

Description

Error during snapshot should raise an error but does not put the cluster in ERROR state. In case the ERROR state is reached, the docker should terminate (and so you could restart it automatically)

Steps to reproduce

Sorry I don't know how to reproduce it

Expected Behavior

Should stop the docker when the ERROR state is reached

Actual Behavior

Stay in Error mode: see logs below

I20211017 09:51:23.784065    86 node.cpp:911] node default_group:172.20.0.2:8107:443 starts to do snapshot
I20211017 09:51:23.784219    86 raft_server.cpp:468] on_snapshot_save
W20211017 09:51:23.784459    86 store.h:329] Checkpoint CreateCheckpoint failed at snapshot path: /data/state/snapshot/temp/db_snapshot, msg:IO error: While opening a file for sequentially reading: /data/db/MANIFEST-000007: No such file or directory
E20211017 09:51:23.784471    86 raft_server.cpp:476] Failure during checkpoint creation, msg:IO error: While opening a file for sequentially reading: /data/db/MANIFEST-000007: No such file or directory
I20211017 09:51:23.784518    86 raft_server.cpp:412] save_snapshot called
I20211017 09:51:23.784536    86 snapshot.cpp:516] Deleting /data/state/snapshot/temp
W20211017 09:51:23.784584    86 snapshot_executor.cpp:220] node default_group:172.20.0.2:8107:443 fail to close writer
E20211017 09:51:23.787825    84 raft_server.h:249] Met peering error {type=SnapshotError, error_code=5, error_text=`Fail to save snapshot'}
W20211017 09:51:23.789753    84 node.cpp:1264] node default_group:172.20.0.2:8107:443 got error={type=SnapshotError, error_code=5, error_text=`Fail to save snapshot'}
I20211017 09:51:23.789777    84 replicator.cpp:1475] Group default_group Fail to find the next candidate
I20211017 09:51:23.789790    84 raft_server.h:241] Node stepped down : Raft node(leader or candidate) is in error.
E20211017 09:51:23.794023     1 raft_server.cpp:242] Rejecting write: could not find a leader.
I20211017 09:51:23.794960    86 raft_server.cpp:717] Dummy write to https://172.20.0.2:443/health, status = 500, response = {"message": "Could not find a leader."}
I20211017 09:51:23.794975    86 raft_server.cpp:461] save_snapshot done
I20211017 09:51:29.749815    81 raft_server.cpp:565] Term: 3, last_index index: 542, committed_index: 542, known_applied_index: 542, applying_index: 0, pending_index: 0, disk_index: 542, pending_queue_size: 0, local_sequence: 9473
W20211017 09:51:29.749862    81 raft_server.cpp:590] Single-node with no leader. Resetting peers.
W20211017 09:51:29.749869    81 node.cpp:866] node default_group:172.20.0.2:8107:443 is in state ERROR, can't reset_peer
I20211017 09:51:39.751145    81 raft_server.cpp:565] Term: 3, last_index index: 542, committed_index: 542, known_applied_index: 542, applying_index: 0, pending_index: 0, disk_index: 542, pending_queue_size: 0, local_sequence: 9473
W20211017 09:51:39.751190    81 raft_server.cpp:590] Single-node with no leader. Resetting peers.
W20211017 09:51:39.751197    81 node.cpp:866] node default_group:172.20.0.2:8107:443 is in state ERROR, can't reset_peer

Metadata

Typsense Version: 0.21.0

OS: docker-compose

created time in a month

pull request commentorhun/git-cliff

docs(readme): add GitLab CI/CD section to README.md

I added the variables section that you found

I work on my production repo and the example so it is good

alteregoart

comment created time in a month

issue closedorhun/git-cliff

Gitlab CI, git-cliff is working on v0.4.0, git repo is set, config file is here but no changelog ...

Describe the bug I set the Gitlab CI with the following stage

changelog:
  image:
    name: orhunp/git-cliff:latest
    entrypoint: [""]
  stage: doc
  script:
    - git-cliff

here is the result on Gitlab CI gitlab-ci

here on local local

I don't understand why it is not working. I try to reproduce the error but impossible on a new repo :/ If you have any idea where it can come from

System (please complete the following information):

  • OS Information: Ubuntu (but this part is working fine) & Gitlab CI
  • Project Version: 0.4.0

closed time in a month

alteregoart

push eventalteregoart/git-cliff

Arthur Dion

commit sha fddb2fdf059ebe5fea7eaf59e2a319c3990d97e8

docs(readme): add GitLab CI/CD section to README.md

view details

push time in a month

issue commentorhun/git-cliff

Gitlab CI, git-cliff is working on v0.4.0, git repo is set, config file is here but no changelog ...

It works !!!

That's so good !

I am wondering why my example is running then :/

alteregoart

comment created time in a month

issue commentorhun/git-cliff

Running git cliff in the Gitlab CI results in an 'IO error'

I think the issue is coming from the fact that you are using alpine container (I used alpine container, git-cliff failed, I changed to regular one everything worked fine).

Could you try to use a regular container (not an alpine one) ?

pataar

comment created time in a month

issue commentorhun/git-cliff

Gitlab CI, git-cliff is working on v0.4.0, git repo is set, config file is here but no changelog ...

This is a private repo 😥 I could give you access to it either way

alteregoart

comment created time in a month

issue commentorhun/git-cliff

Gitlab CI, git-cliff is working on v0.4.0, git repo is set, config file is here but no changelog ...

Yep i know it worked I use it on another repository without any issue but on this one.

Yes i am using the default cliff.toml file. On my machine everything is working fine but on the CI it is not working :/

alteregoart

comment created time in a month

issue commentorhun/git-cliff

Gitlab CI, git-cliff is working on v0.4.0, git repo is set, config file is here but no changelog ...

Unfortunately, I still have the issue :disappointed:

I think I have the full history, I tried on another job and had the following: Capture d’écran de 2021-10-18 21-40-34 )

I have no idea how to debug this. Do you have any idea ?

alteregoart

comment created time in a month

push eventalteregoart/git-cliff

Arthur Dion

commit sha e9ce150244b046f43ed688dd3a2f9d85c7833c0b

docs(readme): add GitLab CI/CD section to README.md

view details

push time in a month

pull request commentorhun/git-cliff

docs(readme): add GitLab CI/CD section to README.md

There are some grammatical mistakes in the explanation. Other than that it looks okay to me.

Thank you, I made the correction. Sorry for those mistakes.

alteregoart

comment created time in a month

push eventalteregoart/git-cliff

Arthur Dion

commit sha faec7ba9222992599d2eedfc98f1b129b3954f4f

docs(readme): add GitLab CI/CD section to README.md

view details

push time in a month

issue commentorhun/git-cliff

Add GitLab CI usage example to README.md

Nope I did, see https://github.com/orhun/git-cliff/pull/24

orhun

comment created time in a month

PR opened orhun/git-cliff

Reviewers
docs(readme): add GitLab CI/CD section to README.md

Description

add GitLab CI/CD section to README.md

Motivation and Context

https://github.com/orhun/git-cliff/issues/21

How Has This Been Tested?

https://gitlab.com/alteregoart/git-cliff-test Wondering if you should not have a repo from you (or if you want I can setup a better example on my own as you wish)

+22 -0

0 comment

1 changed file

pr created time in a month

push eventalteregoart/git-cliff

Arthur Dion

commit sha c1d45191a5747e59dbdf0bd15e4854551274b521

docs(readme): add GitLab CI/CD section to README.md

view details

push time in a month

more