From dev-return-45677-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Thu Apr 11 13:15:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6D852180763 for ; Thu, 11 Apr 2019 15:15:03 +0200 (CEST) Received: (qmail 44236 invoked by uid 500); 11 Apr 2019 13:15:01 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 44035 invoked by uid 99); 11 Apr 2019 13:15:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Apr 2019 13:15:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 181F4E2909 for ; Thu, 11 Apr 2019 13:15:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7C1FE24593 for ; Thu, 11 Apr 2019 13:15:00 +0000 (UTC) Date: Thu, 11 Apr 2019 13:15:00 +0000 (UTC) From: "ARomantsov (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-11729) Low description for lost policy functional MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 ARomantsov created IGNITE-11729: ----------------------------------- Summary: Low description for lost policy functional Key: IGNITE-11729 URL: https://issues.apache.org/jira/browse/IGNITE-11729 Project: Ignite Issue Type: Improvement Components: documentation Affects Versions: 2.7 Reporter: ARomantsov Fix For: 3.0, 2.8 Current description in https://apacheignite.readme.io/docs/partition-loss-policies seems not covered persistence case and text description is not clean Probably we need to transform it into two tables (in-memory, persistence) Rows - cache_write, cache_read, cache_remove,sql_read, sql_write Columns - READ_ONLY_SAFE ,READ_ONLY_ALL, READ_WRITE_SAFE, etc {code:java} Policies Ignite supports the following PartitionLossPolicies: READ_ONLY_SAFE - all writes to a cache/table will fail with an exception. Reads will only be allowed for entries belonging to survived/alive partitions. Reads from lost partitions will fail with an exception. READ_ONLY_ALL - reads are allowed from any partition including the lost ones. An exception is thrown in an attempt to write to any partition. The result of reading from a lost partition is undefined and may be different on different nodes in the cluster. READ_WRITE_SAFE - all reads and writes are allowed for entries in survived/alive partitions. All reads and writes of entries belonging to the lost partitions will fail with an exception. READ_WRITE_ALL - all reads and writes will proceed as if all partitions were in a consistent state (as if no partition loss happened). The result of reading from a lost partition is undefined and may be different on different nodes in the cluster. IGNORE - this mode never marks a lost partition as lost, pretending that no partition loss has happened and clearing the partition loss state right away. Technically, the partition will not be added to the collection of lostPartitions which is the main difference from READ_WRITE_ALL mode. IGNORE mode is used by default. {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)