Skip to content

Commit

Permalink
FlatRecordExtractor.extract() call is now synchronized
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoszewnik committed Jun 23, 2023
1 parent bb27262 commit bbbff00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public FlatRecordExtractor(HollowReadStateEngine extractFrom, HollowSchemaIdenti
this.recordCopiersByType = new HashMap<>();
}

public FlatRecord extract(String type, int ordinal) {
public synchronized FlatRecord extract(String type, int ordinal) {
ordinalRemapper.clear();
writer.reset();

Expand Down

0 comments on commit bbbff00

Please sign in to comment.