Karol Bucek

Results 78 issues of Karol Bucek

currently after : ``` require "unit_record" ActiveRecord::Base.disconnect! ``` one gets : uninitialized constant ActiveRecord::ConnectionAdapters::UnitRecordAdapter::Rails (NameError) cause of : unit_record-0.9.1/lib/active_record/connection_adapters/unit_record_adapter.rb:62

JRuby, being Ruby, uses RubyGems - a `require 'rubygems'` happens by default as the runtime starts. Some of the [constants](https://github.com/rubygems/rubygems/blob/v3.0.6/lib/rubygems.rb#L1344-L1360) (such as `Gem::Specification`) are setup to auto-load on demand while...

bug
int-shortlist
v8.3.0

**DRAFT: depends on Puma features not released yet: see https://github.com/elastic/logstash/issues/13406** ## Release notes Logstash's API endpoint was extended with new SSL related settings, namely: * `"api.ssl.truststore.path"` to go along with...

status:work-in-progress

Removing the `-Djruby.jit.threshold=0` flag, which seems to have been [introduced](https://github.com/elastic/logstash/pull/7783) due benchmarking. Removing the force of AOT means a noticeably faster startup (we do not need to 'compile' every method...

status:approved

Logstash 8.0 is securing it's HTTP API endpoint, for details please see: https://github.com/elastic/logstash/issues/13196 The [initial implementation](https://github.com/elastic/logstash/pull/13308) skipped a few things due limitations of the web server used (Puma). Logstash will...

security
HTTP API

In Logstash 8.3.0 the Jackson library (used for serializing events) has [been upgraded](https://github.com/guyboertje/jrjackson/pull/87/files) to 2.13.3. This lead to unexpected issues when trying to de-serialize data from older LS versions e.g....

bug
status:needs-triage

- `Bundler.setup` seems to be taking ~3s (after https://github.com/elastic/logstash/pull/14284) there might be more that can be done, given that the LS' `GEM_HOME` only contains the minimal required gem set, Bundler's...

enhancement

JRuby has the notion of `some_ruby_obj.to_java`, which on the native (ext) end translates to: [`public T toJava(Class target)`](https://github.com/jruby/jruby/blob/9.2.11.1/core/src/main/java/org/jruby/RubyBasicObject.java#L865-L871) LS should implement these for efficiency but also potentially using its "internals"...

it's fairly common to run Logstash with `--log.level debug`, however some details: ``` [2021-06-08T12:53:15,138][DEBUG][org.logstash.config.ir.CompiledPipeline][main] Compiled filter P[filter-mutate{"add_field"=>{"failed_timestamp_utc"=>"%{[event_timestamp]}", "current_status"=>"failed"}}|[file]/home/logstash/config/logstash_main.conf:73:8:``` mutate{ add_field => { failed_timestamp_utc => "%{[event_timestamp]}" current_status => "failed"} } ```]...

enhancement
status:needs-triage

this is pretty much a low hanging fruit that allows the following to work (with `-O` as well): `bin/jruby -v -e "obj = [1]; ObjectSpace.define_finalizer(obj, lambda { |_| }); p...