12 小时前

grin 发布版本:

Third and most likely last minor release on our v1.0.x tree before moving on to v1.1.0. Many small stability and security fixes that overall are well worth the update. # Change Log ## [v1.0.3](https://github.com/mimblewimble/grin/tree/v1.0.3) (2019-04-02) [Full Changelog](https://github.com/mimblewimble/grin/compare/v1.0.2...v1.0.3) **Implemented enhancements:** - Proposed wallet changes [\#2520](https://github.com/mimblewimble/grin/issues/2520) - Dandelion++ Algorithm Changes [\#2176](https://github.com/mimblewimble/grin/issues/2176) - Create first launch wizard [\#2063](https://github.com/mimblewimble/grin/issues/2063) - Dandelion: Reduce likelihood of a tx reaching the embargo threshold [\#1982](https://github.com/mimblewimble/grin/issues/1982) - Improve wallet error message [\#1960](https://github.com/mimblewimble/grin/issues/1960) - Make Grin Less Monolithic [\#1378](https://github.com/mimblewimble/grin/issues/1378) - Disable hooks during sync [\#2695](https://github.com/mimblewimble/grin/pull/2695) ([mcdallas](https://github.com/mcdallas)) - Display the current download rate rather than the average when syncing the chain [\#2633](https://github.com/mimblewimble/grin/pull/2633) ([Agreene](https://github.com/Agreene)) - add a new configure item for log\_max\_files [\#2601](https://github.com/mimblewimble/grin/pull/2601) ([garyyu](https://github.com/garyyu)) - Allow to peers behind NAT to get up to preferred\_max connections [\#2543](https://github.com/mimblewimble/grin/pull/2543) ([hashmap](https://github.com/hashmap)) **Fixed bugs:** - The output\_pos index not being cleaned up correctly during compaction [\#2606](https://github.com/mimblewimble/grin/issues/2606) - Rest Service Dead [\#2402](https://github.com/mimblewimble/grin/issues/2402) - zip\_read is filling disk with lots of txhashset.zip files and temp dirs [\#2311](https://github.com/mimblewimble/grin/issues/2311) - Fix Tokio issue with version \> 0.1.11 [\#2135](https://github.com/mimblewimble/grin/issues/2135) - Inconsistency between TX logs and outputs log. [\#2069](https://github.com/mimblewimble/grin/issues/2069) - Autodetect lmdb storage allocation based on the env [\#1681](https://github.com/mimblewimble/grin/issues/1681) - Daemonized Grin Crashes and will not log [\#1342](https://github.com/mimblewimble/grin/issues/1342) - Attempt to fix broken TUI locale [\#2713](https://github.com/mimblewimble/grin/pull/2713) ([hashmap](https://github.com/hashmap)) - catch the panic to avoid peer thread quit early [\#2686](https://github.com/mimblewimble/grin/pull/2686) ([garyyu](https://github.com/garyyu)) - use sandbox folder for txhashset validation on state sync [\#2685](https://github.com/mimblewimble/grin/pull/2685) ([garyyu](https://github.com/garyyu)) - Simplify \(and fix\) output\_pos cleanup during chain compaction [\#2609](https://github.com/mimblewimble/grin/pull/2609) ([antiochp](https://github.com/antiochp)) **Closed issues:** - Running the server looks broken [\#2676](https://github.com/mimblewimble/grin/issues/2676) - Automatically clean up old txhashset snapshots [\#2671](https://github.com/mimblewimble/grin/issues/2671) - p2p support for LoadBalancer VIP [\#2665](https://github.com/mimblewimble/grin/issues/2665) - Crash when mining with AMD \(Mac Pro\) [\#2664](https://github.com/mimblewimble/grin/issues/2664) - Wallet owner api interface is not accessible on 0.0.0.0 [\#2663](https://github.com/mimblewimble/grin/issues/2663) - will grin support smart contract ? [\#2661](https://github.com/mimblewimble/grin/issues/2661) - Dockerfile only builds version 1.0.1 [\#2657](https://github.com/mimblewimble/grin/issues/2657) - Binary release don't run in VPS vmare based [\#2640](https://github.com/mimblewimble/grin/issues/2640) - API v1/wallet/owner/retrieve\_outputs does not return unspent output when tx\_id is specified [\#2637](https://github.com/mimblewimble/grin/issues/2637) - kind: UnexpectedEof, error: StringError\("unexpected end of file"\) [\#2634](https://github.com/mimblewimble/grin/issues/2634) - Third-party verifiable transactions [\#2631](https://github.com/mimblewimble/grin/issues/2631) - error: failed to run custom build command for `ncurses v5.98.0` [\#2630](https://github.com/mimblewimble/grin/issues/2630) - Grin server fails as daemon and cannot even be backgrounded [\#2589](https://github.com/mimblewimble/grin/issues/2589) - funds lost \(?\) after cancelling tx that was stalling for 24 hours \(with other successful rx and tx in between\) [\#2551](https://github.com/mimblewimble/grin/issues/2551) - Can't cancel a received tx with the same Id twice [\#2514](https://github.com/mimblewimble/grin/issues/2514) - big bug: cancel transation, but result success [\#2490](https://github.com/mimblewimble/grin/issues/2490) - block notify for pool operators, etc. [\#2321](https://github.com/mimblewimble/grin/issues/2321) - Web wallet broken by CORS [\#2166](https://github.com/mimblewimble/grin/issues/2166) - ncurses error when using binary [\#2106](https://github.com/mimblewimble/grin/issues/2106) - Write packager-friendly dependency policy [\#2103](https://github.com/mimblewimble/grin/issues/2103) **Merged pull requests:** - clean the header folder in sandbox [\#2716](https://github.com/mimblewimble/grin/pull/2716) ([garyyu](https://github.com/garyyu)) - docs: update/add new README.md badges [\#2708](https://github.com/mimblewimble/grin/pull/2708) ([mrekucci](https://github.com/mrekucci)) - Reduce number of unwarps in servers crate [\#2707](https://github.com/mimblewimble/grin/pull/2707) ([hashmap](https://github.com/hashmap)) - Add some better logging for get\_outputs\_by\_id failure states [\#2705](https://github.com/mimblewimble/grin/pull/2705) ([rentenmark](https://github.com/rentenmark)) - add Japanese edition of state.md [\#2703](https://github.com/mimblewimble/grin/pull/2703) ([34ro](https://github.com/34ro)) - Update intro.md [\#2702](https://github.com/mimblewimble/grin/pull/2702) ([GandalfThePink](https://github.com/GandalfThePink)) - add Japanese edition of build.md [\#2697](https://github.com/mimblewimble/grin/pull/2697) ([34ro](https://github.com/34ro)) - fix: the restart of state sync doesn't work sometimes [\#2687](https://github.com/mimblewimble/grin/pull/2687) ([garyyu](https://github.com/garyyu)) - let check\_txhashset\_needed return true on abnormal case [\#2684](https://github.com/mimblewimble/grin/pull/2684) ([garyyu](https://github.com/garyyu)) - Show response code in API client error message [\#2683](https://github.com/mimblewimble/grin/pull/2683) ([hashmap](https://github.com/hashmap)) - Reduce number of unwwaps in api crate [\#2681](https://github.com/mimblewimble/grin/pull/2681) ([hashmap](https://github.com/hashmap)) - Set Content-Type in API client [\#2680](https://github.com/mimblewimble/grin/pull/2680) ([hashmap](https://github.com/hashmap)) - Reduce number of unwraps in chain crate [\#2679](https://github.com/mimblewimble/grin/pull/2679) ([hashmap](https://github.com/hashmap)) - \[DOC\] dandelion.md, simulation.md ,fast-sync.md and pruning.md documents translate in Korean. [\#2678](https://github.com/mimblewimble/grin/pull/2678) ([MegaSolar](https://github.com/MegaSolar)) - fix the build warning of deprecated trim\_right\_matches [\#2662](https://github.com/mimblewimble/grin/pull/2662) ([garyyu](https://github.com/garyyu)) - https support for webhooks [\#2660](https://github.com/mimblewimble/grin/pull/2660) ([mcdallas](https://github.com/mcdallas)) - make error types serializable [\#2659](https://github.com/mimblewimble/grin/pull/2659) ([bddap](https://github.com/bddap)) - refactor\(ci\): reorganize CI related code [\#2658](https://github.com/mimblewimble/grin/pull/2658) ([mrekucci](https://github.com/mrekucci)) - remove root = true from .editorconfig file [\#2655](https://github.com/mimblewimble/grin/pull/2655) ([bddap](https://github.com/bddap)) - Add Medium post to intro [\#2654](https://github.com/mimblewimble/grin/pull/2654) ([Arvanaghi](https://github.com/Arvanaghi)) - Small QoL improvements for wallet developers [\#2651](https://github.com/mimblewimble/grin/pull/2651) ([jaspervdm](https://github.com/jaspervdm)) - \[DOC\] state.md, build.md and chain directory documents translate in Korean. [\#2649](https://github.com/mimblewimble/grin/pull/2649) ([MegaSolar](https://github.com/MegaSolar)) - Api documentation fixes [\#2646](https://github.com/mimblewimble/grin/pull/2646) ([Agreene](https://github.com/Agreene)) - Switch commitment doc fixes [\#2645](https://github.com/mimblewimble/grin/pull/2645) ([kargakis](https://github.com/kargakis)) - Specify grin or nanogrins in API docs where applicable [\#2642](https://github.com/mimblewimble/grin/pull/2642) ([rentenmark](https://github.com/rentenmark)) - Fix TxHashSet file filter for Windows. [\#2641](https://github.com/mimblewimble/grin/pull/2641) ([DavidBurkett](https://github.com/DavidBurkett)) - Reduce usage of unwrap in p2p crate [\#2627](https://github.com/mimblewimble/grin/pull/2627) ([hashmap](https://github.com/hashmap)) - cleanup legacy "3 dot" incorrect filename check [\#2625](https://github.com/mimblewimble/grin/pull/2625) ([antiochp](https://github.com/antiochp)) - \[docs\] Documents in grin repo had translated in Korean. [\#2604](https://github.com/mimblewimble/grin/pull/2604) ([MegaSolar](https://github.com/MegaSolar)) - Event callbacks for Network and Chain Events [\#2598](https://github.com/mimblewimble/grin/pull/2598) ([mcdallas](https://github.com/mcdallas)) - \[docs\] Add switch commitment documentation [\#2526](https://github.com/mimblewimble/grin/pull/2526) ([johnzweng](https://github.com/johnzweng))

12 小时前

finatra 发布版本: Finatra 19.4.0

19.4.0 ====== Added ----- - inject-server: Add globalFlags argument to EmbeddedTwitterServer, which will allow for scoping a c.t.a.GlobalFlag property change to the lifecycle of the underlying TwitterServer, as a c.t.a.GlobalFlag is normally scoped to the JVM/process. This change is also reflected in EmbeddedHttpServer and EmbeddedThriftServer constructors. [38a3180a](https://github.com/twitter/finatra/commit/38a3180a5d61d12fb1546dd572f075cfd2fb3dbf) - inject-utils: add toOrderedMap implicit conversion for java.util.Map [1686420c](https://github.com/twitter/finatra/commit/1686420c58506eddf3ef2fb4e75d8007bc27ee2e) - finatra-kafka-streams: Add flag rocksdb.manifest.preallocation.size with default value 4.megabytes to c.t.f.k.c.RocksDbFlags and set value in c.t.f.k.c.FinatraRocksDBConfig. [0cac9785](https://github.com/twitter/finatra/commit/0cac9785bc90c421e49a7c0db08066cd0d7a61b9) - finatra-http: Add commaSeparatedList boolean parameter to QueryParams, for parsing comma-separated query parameters into collection types. [0ae425a2](https://github.com/twitter/finatra/commit/0ae425a2f50d0f764f39c80fddd8e11ee0f4bf8e) Changed ------- - finatra-kafka: Upgraded kafka libraries from 2.0.0 to 2.2.0. - [Kafka 2.0.1 Release Notes](https://archive.apache.org/dist/kafka/2.0.1/RELEASE_NOTES.html) - [Kafka 2.1.0 Release Notes](https://archive.apache.org/dist/kafka/2.1.0/RELEASE_NOTES.html) - [Kafka 2.1.1 Release Notes](https://archive.apache.org/dist/kafka/2.1.1/RELEASE_NOTES.html) - [Kafka 2.2.0 Release Notes](https://archive.apache.org/dist/kafka/2.2.0/RELEASE_NOTES.html) [9d22ee7e](https://github.com/twitter/finatra/commit/9d22ee7ea99f9db605882b90b0b6052e841e60ec) - finatra-thrift: Removed c.t.finatra.thrift.exceptions.FinatraThriftExceptionMapper, c.t.finatra.thrift.filters.ClientIdAcceptlistFilter, c.t.finatra.thrift.modules.ClientIdAcceptlistModule, c.t.finatra.thrift.filters.ClientIdWhitelistFilter, c.t.finatra.thrift.modules.ClientIdWhitelistModule, and the finatra/finatra\_thrift\_exceptions.thrift IDL. [caed5ec8](https://github.com/twitter/finatra/commit/caed5ec8c0aa38381853d8efb3a6717b78670dbc) - finatra-thrift: Constructing a ThriftRouter now requires serverName. [dc357fd8](https://github.com/twitter/finatra/commit/dc357fd8361f75e4831f464835581ce9ab38cdee) - finatra-examples: Updated StreamingController to use Reader instead of AsyncStream [3d5e3282](https://github.com/twitter/finatra/commit/3d5e3282cd860a1b4fa5b1c4a608098f97ca300a) - finatra-kafka-streams: Implement FinatraKeyValueStore as custom store. [cd38ddf6](https://github.com/twitter/finatra/commit/cd38ddf699872c48e4bbce2cfbda14c1a98d5864) - finatra-thrift: Constructing a ThriftRouter now requires c.t.f.StackTransformer. [a96312d2](https://github.com/twitter/finatra/commit/a96312d2fb3ee53ba56b2eda914245ef05c89c02) Fixed ----- - finatra-kafka: Ensure that EmbeddedKafka implementation of beforeAll() makes call to super.beforeAll() so hooks registered in super class get executed. [9404b28f](https://github.com/twitter/finatra/commit/9404b28f4477387872140a6d153196887213bb70) - finatra-kafka-streams: FinatraTransformer.timerStore config object references immutable map which causes exception thrown if user code calls AbstractStoreBuilder.withLoggingDisabled. Fixed FinatraTransformer.timerStore to convert from immutable map to mutable map before forwarding config object to kafka library. [827c4612](https://github.com/twitter/finatra/commit/827c46126dddc271e8b29b80f6275da3d852cb4d)

12 小时前

k3s 发布版本: Release v0.4.0

# Release v0.4.0 K3s v0.4.0 provides important enhancements and bug fixes found by our community. Users continue to have greater control over how k3s is configured and improved default configurations for ease of use. ## Features and Enhancements - **Update to kubernetes v1.14.1** - Upgraded from Kubernetes v1.13.5 [[changelog](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.14.md#v1141)]. This Kubernetes upgrade moves pid limiting to beta and is enabled by default, which may not be supported by all kernels. K3s will auto-detect cgroup pids support and add flags as needed if the pids module is not available. [[\#335](https://github.com/rancher/k3s/issues/335)] - **Add `--bind-address` flag for API server [[\#214](https://github.com/rancher/k3s/issues/214)]** - Support custom bind address for kubernetes API server to bind to. - **Add `--cluster-domain` flag for custom kubelet and DNS configuration [[\#267](https://github.com/rancher/k3s/issues/267)]** - Support configuring custom DNS cluster domains. - **Add `--flannel-iface` flag for agent [[\#72](https://github.com/rancher/k3s/issues/72)]** - Support custom flannel interface. - **Add passthrough args [[\#290](https://github.com/rancher/k3s/issues/290)]** - Support for overriding k3s default arguments or passing custom arguments to Kubernetes processes: ``` --kube-apiserver-arg value Customized flag for kube-apiserver process --kube-scheduler-arg value Customized flag for kube-scheduler process --kube-controller-arg value Customized flag for kube-controller-manager process --kubelet-arg value (agent) Customized flag for kubelet process --kube-proxy-arg value (agent) Customized flag for kube-proxy process ``` - **Initial metrics-server support [[\#252](https://github.com/rancher/k3s/issues/252)]** - Configures aggregation layer so metrics server can be launched and metrics scraped. Future enhancements will remove need for a custom metrics server deployment. - **Add experimental rootless support** - Provides `--rootless` flag for running k3s agent as a user. ## Bug fixes - Fixed an issue where k3s may not connect to the API server when using proxy settings [[\#325](https://github.com/rancher/k3s/issues/325)]

12 小时前

rocksdb 发布版本: RocksDB Release v6.0.1

# Rocksdb Change Log ## 6.0.1 (3/26/2019) ### New Features ### Public API Change * Added many new features to the Java API to bring it closer to the C++ API. ### Bug Fixes * Make BlobDB wait for all background tasks on shutdown. * Fixed a BlobDB issue where some trash files are not tracked causing them to remain forever. ## 6.0.0 (2/19/2019) ### New Features * Enabled checkpoint on readonly db (DBImplReadOnly). * Make DB ignore dropped column families while committing results of atomic flush. * RocksDB may choose to preopen some files even if options.max_open_files != -1. This may make DB open slightly longer. * For users of dictionary compression with ZSTD v0.7.0+, we now reuse the same digested dictionary when compressing each of an SST file's data blocks for faster compression speeds. * For all users of dictionary compression who set `cache_index_and_filter_blocks == true`, we now store dictionary data used for decompression in the block cache for better control over memory usage. For users of ZSTD v1.1.4+ who compile with -DZSTD_STATIC_LINKING_ONLY, this includes a digested dictionary, which is used to increase decompression speed. * Add support for block checksums verification for external SST files before ingestion. * Introduce stats history which periodically saves Statistics snapshots and added `GetStatsHistory` API to retrieve these snapshots. * Add a place holder in manifest which indicate a record from future that can be safely ignored. * Add support for trace sampling. * Enable properties block checksum verification for block-based tables. * For all users of dictionary compression, we now generate a separate dictionary for compressing each bottom-level SST file. Previously we reused a single dictionary for a whole compaction to bottom level. The new approach achieves better compression ratios; however, it uses more memory and CPU for buffering/sampling data blocks and training dictionaries. * Add whole key bloom filter support in memtable. * Files written by `SstFileWriter` will now use dictionary compression if it is configured in the file writer's `CompressionOptions`. ### Public API Change * Disallow CompactionFilter::IgnoreSnapshots() = false, because it is not very useful and the behavior is confusing. The filter will filter everything if there is no snapshot declared by the time the compaction starts. However, users can define a snapshot after the compaction starts and before it finishes and this new snapshot won't be repeatable, because after the compaction finishes, some keys may be dropped. * CompactionPri = kMinOverlappingRatio also uses compensated file size, which boosts file with lots of tombstones to be compacted first. * Transaction::GetForUpdate is extended with a do_validate parameter with default value of true. If false it skips validating the snapshot before doing the read. Similarly ::Merge, ::Put, ::Delete, and ::SingleDelete are extended with assume_tracked with default value of false. If true it indicates that call is assumed to be after a ::GetForUpdate. * `TableProperties::num_entries` and `TableProperties::num_deletions` now also account for number of range tombstones. * Remove geodb, spatial_db, document_db, json_document, date_tiered_db, and redis_lists. * With "ldb ----try_load_options", when wal_dir specified by the option file doesn't exist, ignore it. * Change time resolution in FileOperationInfo. * Deleting Blob files also go through SStFileManager. * Remove CuckooHash memtable. * The counter stat `number.block.not_compressed` now also counts blocks not compressed due to poor compression ratio. * Remove ttl option from `CompactionOptionsFIFO`. The option has been deprecated and ttl in `ColumnFamilyOptions` is used instead. * Support SST file ingestion across multiple column families via DB::IngestExternalFiles. See the function's comment about atomicity. * Remove Lua compaction filter. ### Bug Fixes * Fix a deadlock caused by compaction and file ingestion waiting for each other in the event of write stalls. * Fix a memory leak when files with range tombstones are read in mmap mode and block cache is enabled * Fix handling of corrupt range tombstone blocks such that corruptions cannot cause deleted keys to reappear * Lock free MultiGet * Fix incorrect `NotFound` point lookup result when querying the endpoint of a file that has been extended by a range tombstone. * Fix with pipelined write, write leaders's callback failure lead to the whole write group fail. ### Change Default Options * Change options.compaction_pri's default to kMinOverlappingRatio