{"push_id":1181030513,"size":6,"distinct_size":2,"ref":"refs/heads/fb-clean-removed","head":"2da86b705793b5aab7145c3d5d4c7f2cf8eb0e4c","before":"ccde26459935446b0c94f9b03235a2286b82b0f1","commits":[{"sha":"3d13ce2b0926c50d00c058223badd986c04ba4b1","author":{"name":"Tudor Golubenco","email":"a99951ac11171565be8b87d3ccf8aa488fff086b@packetbeat.com"},"message":"Unify version handling\n\nThe new file `libbeat/docs/version.asciidoc` contains a single line with the\n`stack-version` variable. All other version variables reference this one. This\nmakes it easy to automate version changing.\n\n`make update` is needed to copy the file to the individual Beats. It would have\nbeen possible to include directly the file from libbeat, but that would have had\na big disadvantage: the docs only get rebuild on file changes in the \"book\", so\nchanging the version in libbeat wouldn't trigger a docs rebuild on the public\nwebsite.\n\nAlso, it's kind of nice to have to run `make update` shortly before each release,\nthat makes it sure we won't forget.","distinct":false,"url":"https://api.github.com/repos/ruflin/beats/commits/3d13ce2b0926c50d00c058223badd986c04ba4b1"},{"sha":"4b80571506e5cf2b82d9378cf03d009bc160cced","author":{"name":"Tudor Golubenco","email":"a99951ac11171565be8b87d3ccf8aa488fff086b@packetbeat.com"},"message":"Also added the branch to the version file","distinct":false,"url":"https://api.github.com/repos/ruflin/beats/commits/4b80571506e5cf2b82d9378cf03d009bc160cced"},{"sha":"c8c7a2974dbf2d0bcf2108a8d78ceae62b6f84da","author":{"name":"DeDe Morton","email":"200eda5c82ff8257129e5a233b9fc6169d9111e6@elastic.co"},"message":"Merge pull request #1919 from tsg/single_version_in_docs\n\nUnify doc version handling","distinct":false,"url":"https://api.github.com/repos/ruflin/beats/commits/c8c7a2974dbf2d0bcf2108a8d78ceae62b6f84da"},{"sha":"14a22200398661f455e731b4f6d3ed8f2a2b92bb","author":{"name":"ruflin","email":"32009be9dc882e2930e030517c15566b61824544@ruflin.com"},"message":"Introducing ttl and timestamp in state\n\nEach state has a timestamp and a ttl. -1 means ttl is disable, 0 means it should be directly removed.\nThis moves the logic on what should happen with a state completely to the state itself and makes it possible to use states in different use cases.\n\nThe advantage of the ttl is that it does not depend in filebeat on the modification time which can be incorrect. This means, in case a file is rotated, the timestamp of a file is updated and it also counts as a new state. This makes sense as otherwise it could happen that the state of a rotate file is removed and then after rotation the file is picked up again as a completely new file. The downside is that people using filebeat must understand the difference between the state timestamp and modtime. In general timestamp is neweer then the modtime, as filebeat finishes reading later.\n\nOn the registrar side, the cleanup happens every time before the registry is written. On the prospector side the state is cleaned up after each scan. It can happen that the prospector state list and registrar state list are not 100% in sync as they don't cleanup the states at the same time. The prospector state is the one that will always overwrite the registrar state. No cleanup is done before shutdown.\n\nIt is important, that on startup first a full scan is done to update the states before the state is cleaned up, otherwise still needed states could be removed.\n\nThis is part of https://github.com/elastic/beats/issues/1600\n\nAdditional:\n* Fixed offset change for prospector to start harvester for old files.\n\nNote:\n* Nice part of this is that registrar does not have to now about expiry and removal of files, state is communication channel.","distinct":false,"url":"https://api.github.com/repos/ruflin/beats/commits/14a22200398661f455e731b4f6d3ed8f2a2b92bb"},{"sha":"8afb5238ed1fe6d3b54ff0f63d083e30d860050e","author":{"name":"Steffen Siering","email":"923420efdad3469037a9d0cd19355b4ac276f98b@elastic.co"},"message":"Merge pull request #1915 from ruflin/fb-clean-older\n\nIntroducing ttl and timestamp in state","distinct":true,"url":"https://api.github.com/repos/ruflin/beats/commits/8afb5238ed1fe6d3b54ff0f63d083e30d860050e"},{"sha":"2da86b705793b5aab7145c3d5d4c7f2cf8eb0e4c","author":{"name":"ruflin","email":"32009be9dc882e2930e030517c15566b61824544@ruflin.com"},"message":"Introduce clean_removed","distinct":true,"url":"https://api.github.com/repos/ruflin/beats/commits/2da86b705793b5aab7145c3d5d4c7f2cf8eb0e4c"}]}
{"actor":{"display_login":"ruflin"}}