flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8515) update RocksDBMapState to replace deprecated remove() with delete()
Date Mon, 29 Jan 2018 01:04:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-8515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342802#comment-16342802
] 

ASF GitHub Bot commented on FLINK-8515:
---------------------------------------

Github user bowenli86 commented on the issue:

    https://github.com/apache/flink/pull/5365
  
    cc @StefanRRichter 


> update RocksDBMapState to replace deprecated remove() with delete()
> -------------------------------------------------------------------
>
>                 Key: FLINK-8515
>                 URL: https://issues.apache.org/jira/browse/FLINK-8515
>             Project: Flink
>          Issue Type: Improvement
>          Components: State Backends, Checkpointing
>    Affects Versions: 1.5.0
>            Reporter: Bowen Li
>            Assignee: Bowen Li
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> Currently in RocksDBMapState:
> {code:java}
> @Override
> 	public void remove(UK userKey) throws IOException, RocksDBException {
> 		byte[] rawKeyBytes = serializeUserKeyWithCurrentKeyAndNamespace(userKey);
> 		backend.db.remove(columnFamily, writeOptions, rawKeyBytes);
> 	}
> {code}
> remove() is actually deprecated. Should be replaced with delete()



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message