beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Kiss (JIRA)" <>
Subject [jira] [Commented] (BEAM-778) Make fileio._CompressedFile seekable.
Date Wed, 29 Mar 2017 17:26:41 GMT


Tibor Kiss commented on BEAM-778:

I'm still working on seek() implementation and I have noticed that there is no lock to protect
the {{_read_buffer}} object. 
I'm not completely sure if it is a valid scenario that multiple threads accessing the same
_CompressedFile object though.

Any thoughts on extending this class with a lock on {{_read_buffer}}?

> Make fileio._CompressedFile seekable.
> -------------------------------------
>                 Key: BEAM-778
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py
>            Reporter: Chamikara Jayalath
>            Assignee: Tibor Kiss
>             Fix For: Not applicable
> We have a TODO to make fileio._CompressedFile seekable.
> Without this, compressed file objects produce for FileBasedSource implementations may
not be able to use libraries that utilize methods seek() and tell().
> For example

This message was sent by Atlassian JIRA

View raw message