ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray <ray...@cisco.com>
Subject Re: Inserting data into Ignite got stuck when memory is full with persistent store enabled.
Date Tue, 17 Oct 2017 03:16:15 GMT
After adding these two lines in the ignite config, this issue still exists.
 <property name="checkpointingFrequency" value="600000"/>
<property name="checkpointingPageBufferSize" value="#{8L * 1024 * 1024 *
1024}"/>

Here's my cache configuration
val rawUserCacheConfig: CacheConfiguration[UserRawKey, UserRawValue] = new
CacheConfiguration[UserRawKey, UserRawValue]()
rawUserCacheConfig.setName("RawUserData")
rawUserCacheConfig.setIndexedTypes(classOf[UserRawKey],
classOf[UserRawValue])
rawUserCacheConfig.setSqlSchema("PUBLIC")
rawUserCacheConfig.setQueryParallelism(8)


public class UserRawKey implements Serializable {
    @QuerySqlField(index = true, orderedGroups = {@QuerySqlField.Group(
            name = "raw_user_day_site_idx", order = 0),
            @QuerySqlField.Group(
                    name = "raw_user_day_site_meetingnum_idx", order = 0)})
    private String day;

    @AffinityKeyMapped
    @QuerySqlField(index = true, orderedGroups = {@QuerySqlField.Group(
            name = "raw_user_day_site_idx", order = 1),
            @QuerySqlField.Group(
                    name = "raw_user_day_site_meetingnum_idx", order = 1)})
    private String siteId;

    @QuerySqlField(index = true, orderedGroups = {@QuerySqlField.Group(
            name = "raw_user_day_site_meetingnum_idx", order = 2)})
    private String meetingNumber;

    @QuerySqlField(index = true)
    private String confId;

    @QuerySqlField
    private String uId;

    @QuerySqlField
    private String gId;
//Constructor and getter/setter omitted
}


UserRawValue is a POJO class with 12 attributes with QuerySqlField
annotation and no index field.

In the attachment, there's dstat log, gc log and ignite log of one of the
ignite servers.
Please let me know if you can reproduce this issue.
Archive.zip
<http://apache-ignite-users.70518.x6.nabble.com/file/t1346/Archive.zip>  



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Mime
View raw message